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

learn more… | top users | synonyms (1)

7
votes
1answer
174 views

How to add an outline around a closed 3D surface?

I would like to add a black outline (silhouette) all around a closed surface. Here's a MWE code to work with : ...
3
votes
2answers
127 views

How to make the mesh to rotate with a surface in Manipulate?

Here's a Manipulate code to show a particular 3D surface, rotating uniformly in time. The point of this Manipulate box is to show that the surface do indeed rotate like a solid, so I can't "cheat" ...
1
vote
1answer
175 views

Changing the Rotate behavior of a 3D graphics

Is it possible to change the way Mathematica rotate its 3D output graphics, when the user uses the mouse ? Here's a MWE to work with : ...
1
vote
1answer
82 views

Ugly rendering of curve with ParametricPlot3D and NDSolve [closed]

I frequently have this rendering problem when I plot a complicated curve with ParametricPlot3D, found by solving a differential equation with NDSolve : The curve should be more "regular" (it is ...
0
votes
1answer
83 views

“Moving” plot of a point moving in circular motion, in 3D

Maybe this is a tricky one! I want to have a 3D plot in Cartesian coordinates of a point moving in a circular orbit around x,y,z = 0. where the circular motion is only in the x,y plane. Has anyone ...
0
votes
0answers
34 views

How can I add an arbritrary label to a detail in a Plot or Plot3D?

I know about the graphics primitives Line and Point. I also know about Labeled, but there the placement of the label itself is confined to one out of {Bottom, Left, Top, Right}. I am looking for a ...
0
votes
1answer
91 views

Create diamond lattice structure [closed]

I would like to create a diamond lattice structure or similar -- close to this: hexagon or octagon lattice structure in 3D. I do not have any code I´m working at the moment. I'm very new to ...
0
votes
0answers
9 views

Can I get Mathematica to display the view vector's components in a 3d image? [duplicate]

Basically what it says in the title. Preferably with full interactivity, so that the view vector coordinates change as I rotate the scene with my mouse. Many thanks!
1
vote
0answers
58 views

How to draw a 3D quaternary phase diagram [closed]

I tried many software however no one worked. I knew someone drew a tetrahedron using Mathematica. Extending a ternary plot to a tetrahedron (using ListPlot) However, I'm just starting to use ...
7
votes
0answers
56 views

Problem exporting Graphics3D into PDF

When I try to export some Graphics3D, like this one: into a PDF file I get a bad appearance like this: It's possible to fix? Steps to reproduce the problem: ...
0
votes
1answer
68 views

How to draw this 3D Voronoi Diagram?

Can anyone tell me the way to generate a 3D Voronoi Diagram like the one given at http://mathworld.wolfram.com/VoronoiDiagram.html. I need to draw the 4th diagram on this page (Second row, last plot). ...
1
vote
0answers
50 views

Mapping Cosmic microwave background onto a sphere [duplicate]

I want to map image of Cosmic microwave background onto a sphere I tried this: ...
5
votes
2answers
229 views

Drawing circular patches around arbitrary points on a sphere

I am trying to draw circular patches of given angular radii around arbitrary points on a sphere. I am able to use, for example, ...
0
votes
1answer
45 views

Animate arrow on sphere based on list

I am trying to animate the movement of an Arrow on a sphere. I have this code that allows me to manipulate the arrow, but I want it to move based on a set of data. I have no idea how to 'listplot' ...
2
votes
2answers
142 views

ParametricPlot3D colorfunction for a specific region of an object

I have created a 3D parametric plot of an oblate spheroid, and I want to apply "TemperatureMap" as a colorfunction to its surface as a gradient in the Z direction. However, I only want to apply this ...
0
votes
1answer
60 views

Varying constant in Matrix calculation to generate 3D plot

As suggested, I rewrite my code to make it simpler and directly showing the problem. Here is a short example. I'd like to generate 3D plot where x,y,z (= a,b,answer) while I am varying a (0 ...
1
vote
2answers
75 views

How to add text with output on a 3D manipulate

I need to add a string of text with some output data at the bottom-center of a manipulate output. The manipulate output itself is 3D. Here's a MWE to work with : ...
3
votes
2answers
185 views

How can I get a smooth plot of a bounded region?

From the iterated integrals $\int_{0}^{1}\int_{\sqrt{y}}^{1}\int_{x^{3}}^{1}f(x,y),$ we have the region $$\Omega=\{0\le y\le1,\sqrt{y}\le x \le 1,x^{3}\le z \le 1\}.$$ How can I use Mathematica to ...
3
votes
0answers
96 views

Export a 3D list plot file to 3D viewing format

I am not quite aware of 3D file formats which I can export from Mathematica; I have the following problem. I have a very large 3D list plot (with axes labs, plot legends etc..) from my experiment. ...
3
votes
1answer
98 views

Strange behavior with SliceDensityPlot3D using custom surfaces, Mesh lines have a great influence on the density plot

In this answer I was trying to make a 3D stack of disk-shaped density plots, so I was using ListSliceDensityPlot3D. I resorted to using a set of nonrectangular ...
3
votes
0answers
40 views

Exporting my 3D Planet [duplicate]

Beginning with a picture of the surface of an imaginary planet, I can texture-map this onto a sphere: ...
0
votes
0answers
91 views

Slow and laggy animation of an electromagnetic wave

I made a manipulate code of an electromagnetic plane wave which works relatively well, but is very slow and laggy for what it does (showing just a bunch of rotating or oscillating arrows). What is ...
3
votes
4answers
226 views

ParametricPlot3D for only part of a sphere

I want to plot the region of a sphere that satisfies the equation $$ \tan\theta\geq-\frac{rz}{rx\cos\phi + ry\sin\phi} $$ where $rx$, $ry$, $rz$ are known constants. The spherical coordinates ...
7
votes
0answers
126 views

3D orbits of moons around their respective planets

I have seen a lot of solar system models (both animated and not), but I am trying to replicate the same thing with moons. Either just one planet and its lunar system or the our whole solar system with ...
4
votes
1answer
79 views

How can I convert a 3D contour plot into a region for use as a custom slice in ListSliceDensityPlot3D?

The documentation for ListSliceDensityPlot3D says ListSliceDensityPlot3D[{{x1,y1,z1,f1},{x2,y2,z2,f2},…},surf] generates a ...
0
votes
0answers
79 views

3D Vector Plot with multiple data points

I have this code: ...
2
votes
0answers
64 views

How to plot points in 2D without restricting their apparent positions to pixel grid?

Compare the two renderings of the same point in the following code (this is just a reduced example, I know I could just zoom in the scene, it's not an option in original code): ...
1
vote
1answer
44 views

3D Interaction when using CDFDeploy

In the following code, the 3D plot of the manipulation is interactive. ...
16
votes
0answers
323 views

How to automatically pack irregular polyhedra

We get the tetrakaidecahedron like this: ...
16
votes
1answer
349 views

Creating a cloud of blocks that form I ♥ U in different viewpoints

This picture shown bellow has three shapes with different view angle (I ♥ U). How to do this type of model? A few tries: ...
2
votes
1answer
84 views

plotting 3d and contour

How can i plot such a graph like this? I mean placing the 3d plot and the contour in the same figure
5
votes
0answers
64 views

Contour labels on SliceContourPlot3D?

SliceContourPlot3D doesn't seem to come with the option of putting contour labels on the plots as far as I can see. I'm using the ...
2
votes
0answers
78 views

How two print two 3D objects together

I am trying to 3D print a torus with a curve running around it. This is what I tried: ...
2
votes
2answers
82 views

Special Coloring of two 3D Graphics with same values

As you can see in the picture below, I have plotted three different functions. Since two functions (red and blue) have the same value for a certain region (equity > 60), I was wondering how I can make ...
3
votes
1answer
572 views

How to draw a 3D polygon like this? [closed]

I tried to draw first picture with Raster3D, but the result is strange: So, what is best function to call to draw 3d polygon like that?
1
vote
1answer
83 views

Color of lines in ParametricPlot3D

I have a function of two variables which returns a vector of three components. For example func[l_,t_]:={ x=.... y=.... z=.... {x,y,z}} Now I ...
4
votes
1answer
83 views

Graphics3D opacity of lines

I would like to make the lines opaque for a plot of form similar to: ...
1
vote
0answers
102 views

Drawing outside of 3D plot area

I have some grid-lines I want to extend outside of the bounding box of 3D plot BarChart3D. I do want to keep the bounding box small, as I want the automatic axes on the bounding box edge remain next ...
0
votes
0answers
100 views

Plot of 4-dimensional vector field

I want to study a certain type of 4-dimensional ordinary differential equation. How could I visualize it? One thing that could be helpful is to plot the vector field in one pair of variables, for a ...
1
vote
2answers
39 views

Two questions (Modifying Ticks and VectorGraphics)

Say x0[u_, v_, a_, b_, c_] := a* Cos[u]*Sin[v] y0[u_, v_, a_, b_, c_] := b* Sin[u]*Sin[v] z0[u_, v_, a_, b_, c_] := c*Cos[v] I take a parametric plot by ...
0
votes
1answer
161 views

Join points or draw lines between them on a torus [duplicate]

First I would have liked to map points and texture from a square map (box) in agent-based modellers to a torus. ...
1
vote
1answer
121 views

How to map a 2D figure into the 3D plane?

I have several 2D figures, and now I want to map them into the 3D space plane, the picture below shows my idea. The figure above was made by maping texture of the 2D plot on the 3D plane and the ...
14
votes
5answers
613 views

Revolution of Koch Snowflake

How do I plot a shape made from revolving the Koch Snowflake? I try to use RevolutionPlot3D[f, {t, t1}], but I think there is no $f$ for the Koch Snowflake.
3
votes
1answer
161 views

Move Graphics Object

I'm an artist trying out digital media. I'm very new to Mathematica, however, so excuse me if this a basic question (which I'm sure it is). I did look, though, for anything on this site related to my ...
10
votes
2answers
436 views

How to plot a distribution of planes

How can one plot in Mathematica a distribution of planes in $\mathbb R^3$? For some point $p=(x,y,t)\in\mathbb R^3$, I want to attach a plane spanned by $X(p)=\left(1,0,\frac{1}{2}y\right)$ and by ...
5
votes
1answer
169 views

Graphics3D/Plot3D rendering issue

I have an issue in Mathematica with the rendering of 3D graphics. Two sides (right and bottom) of some sort of bounding box are present, and, in the instance of ...
1
vote
1answer
112 views

How can I plot the typical axis and not the “box axis” in Plot3D?

Are there any option to plot the typical and classic axis instead de "box axis" that is the default option in Mathematica? What I would like is any similar to the axis in red in the following image. ...
1
vote
1answer
96 views

Graphing a pulsating sphere in a 3D vector field to illustrate divergence at point

I am attempting to create an interactive animation using Manipulate[] that allows me to move a point(or small sphere) around in a vector field to illustrate ...
11
votes
4answers
522 views

Is there a Graphics primitive for a cone without a base?

Is there an easy way to get a graphics primitive for a cone without a base without using RevolutionPlot3D? I'm trying to create an "manipulable" animation of the ...
5
votes
1answer
94 views

How to make 3 dimensional arrows look good when their lenghs are wildly different?

I was trying to adapt Jens's answer for adding arrows to a 3D graphics into a general plotting function here. But I find that when I try to combine the Graphics3D ...