Tagged Questions

For questions specific to the Graphics3D command and related 3D graphics functionality.

learn more… | top users | synonyms (1)

8
votes
1answer
272 views

How to convert Graphics3D object into an Image3D object?

How does one convert a Graphics3D object into an Image3D object? E.g., start with ...
3
votes
3answers
364 views

Image3D and Graphics3D

also I guess that the topic was tackled in Combining Image3D and Graphics3D. My question is quite similar: How do I match the coordinate Systems of Graphics3D and Image3D? Here some code: ...
6
votes
2answers
418 views

Slice through Graphics3D

is there any possibility to slice through a Graphics3D object? At the end I would like to have a stack of images slicing , e.g. $n$ times in $z$-direction: $((x,y,z_{0}), (x,y,z_{1}),…,(x,y,z_{n}))$ ...
10
votes
0answers
516 views

Using TetGen in Mathematica to get 3D Voronoi diagram

In this post, the use of TetGen for 3D Voronoi tesselation has been briefly discussed. However there is still no info about the use of TetGen to generate a 3D Voronoi diagram. The TetGen documentation ...
5
votes
1answer
197 views

Embedding StreamPlot in Graphics3D

I am trying to visualise the action of the infinitesimal generator of a Lie group on the solution of a 2-ODE system drawn in the 3D space (t,y1,y2): t is time and y1,y2 are the two dependent ...
6
votes
2answers
2k views

Need 4D plot (3D + color for function) [duplicate]

I have a function f(x,y,z) of three variables and some constants: ...
2
votes
2answers
188 views

Reducing quality of Graphics3D scene to improve performance?

ProteinData["SERPINA1", "MoleculePlot"] gives the detailed Graphics3D plot below. I'd like to make many small copies of this ...
2
votes
1answer
161 views

How to combine multiple Graphics3D scenes into a single Graphics3D scene?

ProteinData["A2M", "MoleculePlot"] gives you a Graphics3D object below. I'd like to display multiple of these proteins in a ...
1
vote
1answer
151 views

How can I reproduce some surface plots in Mathematica?

I am not really familiar with Mathematica. I wonder if some one can help me draw any of the following surfaces. I will be appreciative if you tell me how to use equations and ...
12
votes
2answers
314 views

Color Histogram3D by Bin Location

I am using a Histogram3D plot to view the correlation of the R & G of an RGB image. Naturally, I want the bins to have a color corresponding to their $x$, $y$ ...
2
votes
1answer
170 views

ParametricPlot3D[] Question

I know this is very similar to a previous question I asked, but there are some differences. When I graph: ...
1
vote
1answer
490 views

How to plot a polygon and a line on the same graph?

I have to plot the line 1 + 4 t, 2 + 5 t, 1 + 12 t and the polygon with points {2, 3, 4}, {1, 4, 5}, {3, 3, 3} in the same graph to see if the line goes through the polygon. I was able to get them to ...
0
votes
1answer
108 views

Nested function problem [closed]

I have trouble defining the following function in Mathematica sp[M_, u_] := 1/Sum[u^k M!/(M - k)!, {k, 0, M}] After defining it Mathematica displays an error. ...
14
votes
1answer
308 views

Method -> {“AxesInFront” -> False} for Graphics3D

I'm aware of two ways to manage positioning of Axes for Graphics3D: AxesOrigin and ...
26
votes
2answers
385 views

Chart illustrating options that affect Graphics/Graphics3D objects

In Mathematica there is a seemingly never-ending list of parameters that affect the appearance of Graphics and Graphics3D ...
1
vote
1answer
127 views

How to keep front and back colors of Polygon in Graphics3D same all the time [duplicate]

I want the same face color for a 3D Polygon when viewed from front or back or from any angle. i.e. I want the color not changed under any conditions. Front and ...
2
votes
1answer
283 views

How can I draw a curve through as set of xyz points?

I have a list of data and want to make a curve like the one below which I made in solidworks. The problem of this curve is, that I don't know how to put it in a box with coordinates. The best I ...
3
votes
2answers
156 views

ParametricPlot3D Question

When I graph: ParametricPlot3D[ If[11*Cos[t] <= 5, {9*Cos[s]*Sin[t], 10*Sin[s]*Sin[t], 11*Cos[t]}, Null], {s, 0, 2*Pi}, {t, 0, Pi}] I get but ...
12
votes
1answer
562 views

ListSurfacePlot3D generates ugly artifacts

I have a list of $\{x,y,z\}$ pairs representing points in $R^3$. For every unique value of $z$ there are many $\{x,y\}$ pairs defining a polygon/contour in that particular $z$-plane. My dataset looks ...
10
votes
3answers
495 views

How to properly project a Graphics object consisting of line primitives

My problem starts from attempts at depicting overlapping lines of different thickness, i.e. ...
3
votes
2answers
363 views

Ploting a 3D vector field using Manipulate, VectorPlot3D and NDSolve

My aim is to plot a vector field of the following system with a few trajectories: $$r'(t)=i-l.r(t)-\text{ux}. r(t). x(t)-\text{uy}. r(t). y(t) \\ x'(t)=\text{ex}. \text{ux}. r(t). x(t)-\text{mx}. ...
0
votes
1answer
210 views

A problem on generating convex hull

For example, I typed the following: ...
4
votes
1answer
190 views

Rotation of Graphics3D like rotating Plot3D

I like the way 3D plots are rotated with the z-axis always pointing up-down. Is there an elegant way of forcing that type of rotation on Graphics3D? I have tried the following: Using an invisible ...
13
votes
2answers
482 views

How to create a simple cross eyed 3d plot

I wanted to create a stereoscopic view of my threedimensional plots, so I can interpret them better. The basic things, one would need, are two plot windows which are somehow connected to each other ...
3
votes
0answers
229 views

Weird behaviour from ListSurfacePlot3D

Looking at Documentation for ListSurfacePlot3D, I follow the basic example presented there. ...
3
votes
2answers
712 views

How to Plot Prism in Graphics3D

I want to create an image of a rectangular prism, but there is no built-in primitive for it. One method to display a prism is shown in whubers's answer to Mathematica for teaching orthographic ...
14
votes
6answers
505 views

How can I suppress rotation of 3D graphics?

Given a 3D image built of a combination several Graphics3D objects, is it possible to suppress rotation of the displayed image by the mouse? To be specific, here ...
4
votes
1answer
591 views

Plotting a 2D shape along a 3D parametric function curve

Say I have a 3D curve that is parametrically defined. How would I be able to plot shapes like figure 8s whose centers are aligned along the 3D curve? Say the curve was: ...
2
votes
1answer
104 views

Can I apply a ColorFunction to FaceGrids, or otherwise have FaceGrids with varying color?

I want to make a 3d plot with FaceGrids with a certain color scheme. Specifically, I'd like them to be one color below a diagonal line, and a different color above ...
3
votes
1answer
184 views

Depth from Graphics3D

Consider this simple 3D rendering with some geometric primitives: ...
9
votes
1answer
1k views

How do I flatten transparency on a graphics, for conversion to eps or similar?

I've got a graphic that I'd like to save as an eps file. Trouble is, the graphic has some transparency to it. Since the eps format doesn't handle transparency, I want to flatten the transparency out, ...
0
votes
1answer
342 views

Projecting on an arbitrary plane

I have the following code, giving me a representation of a photon hitting a cylinder: ...
1
vote
2answers
141 views

Lists not being recognized correctly within manipulate

I've created a keyboard-free panning system within Mathematica. The code does the job, but I continually get errors in relation to it, and I cannot seem to get it to perform within a CDF because of ...
4
votes
2answers
245 views

How to rotate 3D graphics in ListAnimate … without making a mess?

Manipulate is, of course, wonderful … but there are LOTS of examples that are simply far too computationally intensive to use live real-time animations for. In such ...
2
votes
3answers
215 views

Changing the Actions in EventHandler

I would like to be able to change which action specified events take depending on some condition. For example, I have established a SetterBar ...
2
votes
1answer
226 views

3D arrow tail properties

I would like to use VectorPlot3D to plot a vector field with 3D arrows: ...
3
votes
1answer
137 views

How can I improve my Zooming code?

I recently started to work with the EventHandler function to make it possible to Zoom, Pan, etc, with only the use of a mouse. I have found a way to zoom that is ...
14
votes
3answers
641 views

How to get rid of the perspective effect in a 3D graphics

I have plotted a figure of MoS2 crytal structure. But the actual output looks like the spheres are not in the correct position due to the perspective effect. I obtained the correct position figure ...
5
votes
3answers
241 views

Switching among view points in a Manipulate expression

Edit: Some additional viewpoints were included to make it easier to test. Here's code for an alternative function, the graph of which is a bit less symmetric. Feel free to use either code set: ...
1
vote
2answers
162 views

Embedding text on an opaque plane in 3D [duplicate]

A simplified specification of what I am trying to accomplish would be to construct a cube each face with a different color and each face having a text label that can be seen only when viewing from the ...
2
votes
1answer
464 views

Plot a 3D vector field from a file [duplicate]

I have a data file with six columns {x,y,z} and {ux,uy,uz} respectively, and I would like to plot the 3D vector field. http://www.mediafire.com/download/udoa61hu0m6itrc/campo.txt I'm trying to do ...
2
votes
0answers
118 views

Mathematica with a Touchpad

I'm trying to make it so that you do not need to rely on keyboard presses to manipulate a 3D graphic. I've done some searching, but I can't find a way to make it so that Mathematica will recognize ...
2
votes
1answer
105 views

How to rescale a Graphics3D object?

I've created a Graphics3D object by extruding a binary 2D image (as shown here). ...
2
votes
2answers
179 views

Modifying imported 3D file

Since I am visualizing my work using Mathematica, I import some 3D models of molecules to my notebook. So, the question is, is there any way to modify somehow that imported models inside Mathematica ...
3
votes
0answers
238 views

Use of RegionFunction with Graphics3D?

I'd like to plot in 3D a long list of polygons created with TetGenConvexHull, but only in regions specified by a function. Is that possible? As I have it my ...
4
votes
3answers
141 views

Am I missing the point of ViewCenter?

Based on this description of 3D graphics and the associated Wolfram Training video, I anticipated that using the mouse to rotate the graphic below would rotate around the point where the three ...
2
votes
1answer
168 views

Viewing the inside of cuboid intersections

    I have a number of cuboids intersecting as illustrated. I would like to see their intersection, almost the view from inside. Setting the ...
1
vote
2answers
478 views

Isometric 3d Plot

I was wondering if its possible to make the following type of plot in Mathematica: I would like to take a 3D object, such as an ellipsoid, and cut out a wedge. I know this can be done using ...
10
votes
2answers
365 views

Is there a way to interactively read a point from a Graphics3D?

Suppose I have a tesselation, e.g. the Stanford bunny: bunny = Import["http://graphics.stanford.edu/~mdfisher/Data/Meshes/bunny.obj", "OBJ"] I'd like to be ...
6
votes
2answers
312 views

Breaking down a 3D model into patches

I have a 3D model, say the Stanford bunny, which is available in Mathematica examples. Import[ "http://exampledata.wolfram.com/bunny.noff.gz" ] Also ...