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

learn more… | top users | synonyms (1)

0
votes
1answer
93 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. ...
13
votes
1answer
251 views

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

I'm aware of two ways to manage positioning of Axes for Graphics3D: AxesOrigin and ...
25
votes
2answers
356 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
100 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
240 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
138 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 ...
11
votes
1answer
433 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
386 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. ...
2
votes
2answers
259 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
170 views

A problem on generating convex hull

For example, I typed the following: ...
4
votes
1answer
143 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
408 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
172 views

Weird behaviour from ListSurfacePlot3D

Looking at Documentation for ListSurfacePlot3D, I follow the basic example presented there. ...
1
vote
2answers
492 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 ...
13
votes
5answers
418 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
440 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
78 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
152 views

Depth from Graphics3D

Consider this simple 3D rendering with some geometric primitives: ...
7
votes
1answer
587 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
267 views

Projecting on an arbitrary plane

I have the following code, giving me a representation of a photon hitting a cylinder: ...
1
vote
2answers
131 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
206 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
164 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
157 views

3D arrow tail properties

I would like to use VectorPlot3D to plot a vector field with 3D arrows: ...
3
votes
1answer
120 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 ...
11
votes
3answers
413 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
189 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
123 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
303 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
103 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
82 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
140 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
198 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
119 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
145 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
356 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 ...
9
votes
2answers
303 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
258 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 ...
5
votes
1answer
258 views

Graphics3D model of the human body and organs?

Does someone have a 3D model for a man (or woman) that can be displayed in Mathematica using Graphics3D? I have tried importing free .3DS models but they look ...
1
vote
1answer
82 views

Performing operations on function lists

I am exploring the use of Dynamic variables for the ViewPoint and ViewVertical options in a ...
2
votes
1answer
258 views

How do you adjust tick direction on a 3d plot?

I have a 3d plot with oddly angled tick marks. Whether it's due to the viewing angle being unexpected or some other reason, the tick marks on the bottom axes are angled up along the sides rather than ...
2
votes
2answers
194 views

What is the default ColorFunction for 3D plots?

This should be a really simple question, but it isn't in the documentation for some perverse reason. I like the default ColorFunction that Mathematica uses for ...
11
votes
3answers
733 views

How can I visualize 6 square matrices as a cube?

I have six square matrices of the same dimensions in a list, for example: ...
1
vote
1answer
202 views

How manipulate rasterized Graphics3D objects combined with non-rasterized objects

I am trying to construct a building with a manipulated sliding roof and other objects that can be manipulated. I have found that the manipulation of translations and rotations of graphics groups of ...
1
vote
1answer
454 views

Adding tangent (velocity) vectors to a plot of a space curve [duplicate]

I am just getting started with Mathematica and need help plotting tangential vectors to a 3D parametric function. I know how to do this in 2D but am unsure how to do it in 3D. Maybe I am using the ...
1
vote
2answers
315 views

Interpolating and plotting a surface for a sparse set of 3d data points

I have a set of $(x,y,z)$ coordinates which sparsely cover a surface, e.g.: data = {{51, 15, 0.1}, {300, 11, 0.99}, {140, 22, 0.123}, {54, 12, 0.66}, ...}; What ...
6
votes
2answers
274 views

Plot3D constrained to a non-rectangular region

I would like to make a nice 3D graphic of a parabolic bowl, with a cylindrical rim. If I do the following: Plot3D[x^2 + y^2, {x, -3, 3}, {y, -3, 3}] I get a ...
15
votes
4answers
736 views

Visualization of Bivariate Distributions

I know it is perfectly possible to show the bivariate probability distributions in MMA. But my question is can we show each dimension of distribution in 2D dimension while we are showing the 3D plot? ...
1
vote
0answers
51 views

Animated 3D graphics is low resolution [duplicate]

I'm trying to animate a 3D shape in Mathematica 7. It's working, but the graphics is extremely crude while animated. The resolution gets better if I stop the animation. Is there a way to get a nice ...
5
votes
2answers
457 views

How to label axes in 3D plot adequately?

The following code produces plot with axes labels, which are jumping constantly. ...