Tagged Questions
6
votes
1answer
98 views
Does it make sense to ask for the color of a Graphics3D “voxel”?
Say I generate some Graphics3D object, e.g.:
Graphics3D[{Red, Sphere[{0, 0, 0}, 1], Blue, Sphere[{1, 0, 0}, 1]}]
Does it make sense to ask for the color of a ...
0
votes
0answers
41 views
Anti-aliasing won't work when there is PlotStyle command
I've found that if there is PlotStyle command in the input, anti-aliasing will not work.
However if the Style code is ...
7
votes
2answers
75 views
How to show wireframes on imported Object / Mesh (.obj file)
I've managed to import a Wavefront (.obj) file and store it in a variable like so:
...
9
votes
2answers
157 views
Drawing Cylindrical Segment with Graphics3D
For a visualization I need a combination of 3 Cylindrical segments to visualize the incident, reflected and refracted beam of light at a surface. I got as far as the following code.
...
7
votes
3answers
234 views
Generating a “flare” effect in Graphics3D?
I'm attempting to indicate that there is a point-source of light at some position in a Graphics3D-generated image. Is there any built-in tool to do this? My patch-work solution thus far has been to ...
1
vote
2answers
152 views
Using Chemical Data to make molecule graphics
I would like to take the acetone and chloroform molecules that Mathematica's chemical data provides, and plot them together. I want to show how chloroform can hydrogen bond to acetone. Right now I ...
5
votes
2answers
226 views
three-dimensional graphic objects that are not simple cuboids
I am trying to draw some graphics with Mathematica. The objects I want to draw are just a little bit more complex than a cuboid -- the difference being that the top and bottom faces are of different ...
5
votes
2answers
267 views
Axes Origin & Labels in 3D Plot
I'm looking for a way to have the axes at the origin in a 3D plot and to label the (x,y,z) axes in the usual way---with x near the end of the drawn portion of the x axis, y near the end of the drawn ...
3
votes
1answer
108 views
Synchronizing manual rotations for multiple Graphics3D outputs?
Say I make a set of three Graphics3D images, here of three different cones, by evaluating:
...
4
votes
1answer
108 views
Manipulating a Graphics3D output with a large number of geometric primitives
I'm attempting to view and rotate a Graphics3D object with a very large set of geometric primitives ($\approx 10^6$ objects such as spheres or lines), and everything is functioning very slowly. Are ...
9
votes
4answers
331 views
How to draw a higher-genus surface
NB: By higher-genus surface, I mean a closed orientable surface of genus at least 2.
This question has come up before on math.SE, and even MathOverflow, but most posters suggested using either ...
6
votes
2answers
246 views
Calculating a minimum bounding box for a set of 3-space coordinates / spheres
I have a set of 3-space coordinates for the atoms of a molecule (I could also transform them into spheres with radii corresponding to the atoms they represent). I would like to place this molecule ...
1
vote
1answer
180 views
How do I draw multiple 3D shapes defined by lists of points?
I'm attempting to draw $N$ cones on a 3D object, where each cone is specified by a pair of 3D coordinates. The first coordinate is for the cone's base, the second one for the cone's apex. Here, I ...
6
votes
2answers
153 views
Is there a way to programmatically set global preferences?
Can I set global preferences that are accessible via "Edit"->"Preferences" programmatically from within a notebook?
As learned from this question, turning off anti-aliasing can make a huge difference ...
9
votes
0answers
117 views
What is PointForm?
I stumbled across a function called PointForm but the only documentation I can find is the pop-up line offered by autocomplete, which contains the same information ...
10
votes
2answers
202 views
How to get the real PlotRange of Graphics with GeometricTransformations in it?
For demonstrating the problem, have a look at the following example, and try adjusting the rotation angle a and/or the Locator ...
13
votes
4answers
820 views
How to draw a great circle on a sphere?
I apologize for the text description, but new users are not allowed to post images.
I want to draw a circle that cuts through the center of a sphere and has an inclination of 15 degrees with the ...
9
votes
1answer
448 views
3D plots with parallel projection
It is easy to make 3D Plots with Mathematica, e.g. use:
Plot3D[Sin[x+y^2],{x,-3,3},{y,-2,2}]
But I want to have nice plots in my thesis, so I decided to use ...
3
votes
1answer
183 views
Debugging graphics
All the examples I am seeing on internet are related to normal functions that carry out loops and assignments but I have not seen one example where I can see a graphics based program being debugged. ...
3
votes
1answer
162 views
Problem in RegionPlot3D
I tried to plot the region bounded by the three planes. This is supposed to give me a pyramid type of shape (actually two, but I am just taking one of them). The code is given by
...
6
votes
3answers
404 views
How to make a tight crop of a 3d plot?
I like Mathematica, but it's syntax baffles me.
I am trying to figure out how to minimize the whitespace around a graphic.
For example,
...
5
votes
0answers
284 views
How to map rotate, pan, zoom to manipulate controls
I am wondering if there is a way to restrict the motion of the rotate mouse cursor in when moving around a 3d plot.
For example, I want the y direction of the cursor to correspond to pulling the z ...
6
votes
2answers
338 views
Finding concave hull for separated small clusters
Data :
data3D = Import[file, "VertexData"];
Graphics3D[Point[data3D]]
How to find concave polygon for separated small clusters.
11
votes
2answers
597 views
Finding a Concave Hull
I have a 3d clustered data:
Is there any other way to get concavehull of 3D data points?
4
votes
1answer
176 views
Rough edges plotting a surface
I'm trying to use SphericalPlot3D to create some images of a surface but I get some rough edges on the surface around the boundary. However, after rotating the ...
46
votes
2answers
41k views
Cutting bagels into linked halves
I recently came across this video: Mathematically correct breakfast, which shows how a bagel can be neatly sliced into two identical linked halves.
I'd like to try this with Mathematica. Here's a ...
7
votes
1answer
421 views
How to render a 3D tubular graphics from a 2D image path
Question: Is it possible to create a tubular 3D image like Extruding along a path
using "Tube" function in mathematica for following images?
Image (1)
Image (2)
Thanks
I have been ...
11
votes
4answers
1k views
How to draw an ellipse arc in 3D?
There is no Circle or Disk object in 3D. I quickly found a way to use Cylinder (thin lines, no faces, very flat):
...
32
votes
0answers
734 views
How to construct a treemap using non-rectangles?
I've written the standard version of a tree map (a graphic that shows nested data) and I'm looking to improve on this layout by switching to different types of polygons or perhaps circles. Can anyone ...
20
votes
3answers
761 views
How to extrude a 3D image from a binary 2D image
I'm trying to extrude a nice 3D form from the 2D binary image below using the code posted, but I haven't had any luck in figuring out the error that's keeping ...
2
votes
2answers
277 views
Animating a 3-D arrow given the vector's x, y, and z components as a function of time
I am trying to show how a vector M varies over time. I have the following code:
...
22
votes
1answer
367 views
On drilling holes with minimal redundancy (and with colors!)
The old Mathematica package Graphics`Shapes` featured the function PerforatePolygons[], which drilled a hole in any ...
38
votes
1answer
1k views
Implementing a first person view of 3D objects in a scene
I've created the following scene with a Chinese-style building surrounded by trees, and a horse and a rabbit grazing on the grass in Mathematica (don't ask me why there's a bust of Beethoven in ...
19
votes
3answers
581 views
5
votes
1answer
253 views
How can I model composite 3D structures?
I know that Mathematica isn't built to model 3D, but most of my models are equation-defined so here's my question: is it somehow possible to combine ad-hoc 3D objects as well as ...
10
votes
2answers
377 views
Why is ListDensityPlot unable to plot datasets with extreme ranges
Consider the following dataset:
data = Flatten[
Table[{x 10^-9, y 10^-9, x^2 + y^2},{x, -100, 100, 10}, {y, -100,100, 10}]
, 1];
If I try to ...
9
votes
3answers
2k views
How to convert a 2D image into a 3D graphics?
I have an image I would like to make into a .dxf and to do this I need a Graphics3D object. Is there anyway I can do this?
Can ...
19
votes
1answer
948 views
Autorotating 3D plots
These days, I have to produce quite a few 3D surface plots (mostly functions of the type $\rho(\theta,\phi)$ plotted with SphericalPlot3D). To exchange these ...
18
votes
4answers
939 views
Can 2D and 3D plots be combined so that the 2D plot is the bottom surface of the 3D plot boundary?
I have a ListlinePlot function, that I would like to combine with both a Graphics3D plot and a ...

