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

learn more… | top users | synonyms (1)

1
vote
2answers
83 views

A way to show all the 3D curve, with view still centered on {0, 0, 0}

I frequently have this graphics output problem : I draw a 3D curve using NDSolve, and depending on the initial data, there's no way I could predict the shape and ...
4
votes
2answers
212 views

Plotting a complicated 3D wave on the surface of a sphere [duplicate]

Suppose you have a vectorial wave described by a complicated function of time and cartesian coordinates $t$, $x$, $y$ $z$ (very simple example below) : ...
3
votes
1answer
67 views

Import Excel sheet into 3D array, 1st row and column as x- and y-axis

It might be simple, but for me, it took several hours working on, but still cannot figure out. Basically, I'd like to create 3 dimensional list data ({x,y,z}) from excel file, so I can plot them ...
1
vote
1answer
76 views

How to define a stochastic electromagnetic field? [closed]

I would like to show the effect of a stochastic electromagnetic field on a relativistic charged particle, using a manipulate box. The field should be randomly varying in time and in space, and be ...
5
votes
1answer
112 views

How to export a 3D circle as a single piece PDF vectorial object?

I need to export a circle drawn in 3D with a specific point of view to a PDF file. This is easy to do. However, the exported circle is made of tons of non-connected small bits. I need the whole ...
4
votes
1answer
123 views

interpolating a smooth closed surface to a non-uniform data set (ListSurfacePlot3D)

I want to generate a smooth coloured surface from a discrete set of points of the form {x,y,z,F} using the ListSurfacePlot3D. My data set is quite non uniform; the ...
13
votes
2answers
2k views

Creating 3D dice

How to create an image of a 3D die from the 2D images? There is an example in the Documentation Center I tried but it doesn't work.
1
vote
1answer
59 views

Using ColorFunction to plot Cones with colors depending on orientation

I have an assembly of cones plotted with Graphics3D with positions and orientations according to data read from a file. Now I am using Hue to color the cones and I use the following code to plot them: ...
11
votes
1answer
142 views

How to make a two letter monogram in 3d like the one on www.mymo.is? [duplicate]

I want to achieve the same effect like the project on http://www.mymo.is/. By taking two letters and combine them in 3d, you can get a complex shape that looks like one letter on the one side and the ...
4
votes
2answers
198 views

How can I visualize a map $f:T^2\to T^2$?

Let $T^2\cong S^1\times S^1$ be the one-holed torus surface (say, embedded in $\mathbb{R}^3$) and say I have a simple-ish map $f:T^2\to T^2$ which I'd like to visualize. How might I do that? To make ...
0
votes
1answer
76 views

Making a Manipulate showing a the motion of a particle [closed]

Solving a differential equation I got to the following result -(((R[n*Pi - t/w] Cos[t/w])/(n*Pi)) Then, using this solution, I create . ...
1
vote
0answers
68 views

Exporting 3D graphics in vectorial form

I often have to export a 3D graphics to a PDF file, to be opened and edited with my favorite vectorial application ('m using Intaglio, on OS X). I frequently get two problems (see the picture below, ...
5
votes
1answer
202 views

Smooth 3D plot with colour of scattered data

I have a set of scattered 3D points with coordinate (x,y,z) and an intensity associated with it. I would like to do a smooth surface with the intensity being represented by the colour. My points ...
0
votes
1answer
89 views

How to prevent extrapolation in Manipulate? [duplicate]

How can I limit the time slider to the NDSolve solution range in a Manipulate box, so no extrapolation is used ? More specifically, here's a stripped down version of my Manipulate code which shows ...
-3
votes
1answer
178 views

How to turn off depth sorting of 3D curves for Manipulate?

Is there a way to turn off the default depth sorting of curves in a 3D output of several complicated curves ? Currently, I suspect that depth sorting has a very strong impact on performances on my ...
3
votes
1answer
70 views

How to let Graphics3D show texts only within the plot range?

OS: Windows Server 2012 R2 MMA Version: 10.3.0.0 ...
-1
votes
1answer
71 views

How to change the 3D Mesh resolution?

I need to fix the resolution of the mesh lines drawn on some surfaces, and currently I don't know how. Here's a MWE to work with (a simple sphere) : ...
0
votes
1answer
43 views

How to use a PopupMenu in Manipulate? [duplicate]

I need to build a Manipulate to show one of several functions in 3D. The functions should be selected in the Manipulate box using a PopupMenu, but the documentation isn't very helpfull on this. So ...
0
votes
1answer
64 views

NDSolve Surface Plot to Compare Initial Values

I am trying to solve a system of differential equations which model reaction kinetics using NDSolve. I would like to generate a surface-plot of the function value as a function of time and the initial ...
2
votes
3answers
130 views

Putting arrows in 3d plot

How can I put vertical arrows in the center of each cylinder and around them? ...
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
131 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
181 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
83 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
91 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
36 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
94 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
75 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 ...
8
votes
0answers
62 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
74 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
51 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
246 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
48 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' ...
3
votes
2answers
156 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
62 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
80 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
194 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
100 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
104 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
93 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
233 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
135 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
89 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
83 views

3D Vector Plot with multiple data points

I have this code: ...
2
votes
0answers
65 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
45 views

3D Interaction when using CDFDeploy

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

How to automatically pack irregular polyhedra

We get the tetrakaidecahedron like this: ...
16
votes
1answer
353 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: ...