Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

1
vote
1answer
80 views

Graph a cylinder moving in 3D

I need to generate a graph (series of stills) or animation of a cylinder (or other shape) moving in 3D. The object moves in projectile motion and rotates about two different axes. Now, I have the ...
2
votes
1answer
48 views

Finding Intersections Between Arbitrary Surface and A Line

I have a self-intersecting surface H defined as follows: ...
1
vote
2answers
54 views

Plotting dynamic variable generated by checking Region intersections

I have been trying to plot a variable which is nested inside a manipulate. Here is a simplified version of the program. ...
0
votes
1answer
44 views

UnitStep producing unclean boundary

I am trying to do the SliceDensityPlot3D which uses UnitStep function ...
1
vote
1answer
50 views

The intersection of two “mesh surfaces from points”

I am a fresh user of mathematica, soo thank you in advance for your help. I would like to get a list of points (x,y,z) at any interval (eg every 0.05 by x and y coordinate) which are created by ...
0
votes
0answers
41 views

Visualize embedded and immersed Klein bottle

Answers at How to visualize a 4-dimensional parametric surface? give functions for producing images of 3D projections of 4D embeddings of the Klein bottle. Is there a way to get such a 3D projection ...
0
votes
1answer
38 views

Plotting four surfaces with different constraints in one plot

I generated the plot shown below using this code: ...
4
votes
2answers
234 views

How to combine 2d circle graph (with point which is rounded) into helix 3d graph (motion of particle along circle in the world line)

Manipulate[Graphics[{Circle[], {Red, PointSize@.05, Point@{Cos[x], Sin[x]}}}], {x, 0, 2 Pi}] and ...
3
votes
1answer
101 views

Finding the intersection of a pencil of lines with a plane and making a 3D plot of the ensemble

I've computed the intersection of a plane with some lines. It looks OK until I try to make a 3D graph from intersec_lines. ...
6
votes
2answers
121 views

How to visualize a 4-dimensional parametric surface?

What are some good ways, using ParametricPlot3D or otherwise, to visualize a surface (taking 2 real parameters) embedded in a 4-dimensional space? Specifically, ...
4
votes
2answers
66 views

Conveniently rotate animated 3D graphics

3D graphics can be easily rotated interactively by clicking and dragging with the mouse. Is there a simple way to achieve the same for animated 3D graphics? I would like to rotate them interactively (...
4
votes
1answer
100 views

Is there a way to animate the plane wrapping into a cylinder (and also the curves of the plane folding into a cylinder)?

I would like to animate (continuously) a plane with any number of curves on it folding into a cylinder (and also seeing the resulting curves -arbitrary curves, really- in the cylinder - folded lines ...
1
vote
0answers
27 views

Unexpected behaviour of RegionFunction in 3D Plots [duplicate]

This is a continuation of a similar problem I had posted earlier. I am trying to plot a function defined in a specific parameter space using the RegionFunction ...
2
votes
0answers
48 views

Unexpected behaviour of RegionFunction in 3D plot

I am trying to plot a function defined in a specific parameter space using the RegionFunction option in Plot3D. So, this is how ...
3
votes
1answer
43 views

Plot Legends in 3D Parametric Plot with Color Function [duplicate]

I have two parametric space curves with different line styles plotted with ParametricPlot3D, with a ColorFunction applied. How ...
0
votes
1answer
58 views

Volumize interpolated ListPlot3D

I have a large list of data points (x,y,z). I have plotted them using ListPlot3D and then i generated a smooth surface covering ...
1
vote
0answers
43 views

How to reduce the number of polygons of 3D plots?

Is it possible to reduce the number of polygons a 3D plot is composed of in Mathematica? I created this animated inverted gyroid but if I want to make something more complicated it is too large (or ...
0
votes
0answers
29 views

Change Plot3D, etc., axes orientation and position?

On paper or a blackboard, mathematicians (as opposed to engineers, physicists, etc.) typically draw 3D plots is with: axes origin is at (0, 0, 0) and axes are drawn emanating from there; the ...
3
votes
2answers
41 views

Why do the arrows or the axes labels in a 3D graphic disappear?

In this 3D graphic, how do I cause both the axes labels and the arrows along the axes (with their arrowheads) to appear? Create the arrows after the SphericalPlot3D...
5
votes
2answers
82 views

Mapping Streamplot into graphics without arrows

This question follows from the example below Mapping StreamPlot onto spherical surfaces When I'm trying to remove the arrows I cannot get the 3d graphics: ...
3
votes
0answers
55 views

Generating random coordinates (3D) with constraint

I have been trying to generate random $(x,y,z)$ coordinates (i.e. for 15 ellipsoids) so that they obey following constraints: ellipsoid's length is constant, ellipsoids do not intersect (fulfilled ...
5
votes
2answers
76 views

Why don't I see all the planes in the ChromaticityPlot3D?

Using the default setting, I can have my desired ChromaticityPlot3D as ChromaticityPlot3D["LAB", "LAB"]; However, the problem ...
0
votes
1answer
39 views

How to increase the thickness and change colors of the edges in a mesh?

Consider 10 random points as pts = RandomReal[{-1, 1}, {10, 3}]; The edges of the polyhedron formed by these points can be visualized as ...
0
votes
1answer
49 views

How can I plot the solutions to this system of non linear ODEs?

I need to solve the following system: $$\left\{ \begin{array} { l l } { (u')^2 + (v')^2 = 1 } \\ {u'v'' - u''v' = uu' + vv' } \end{array} \right.$$ and it's a task that's proven to be quite hard by ...
1
vote
1answer
32 views

Combine Plot and Graphics 3D for open box

I've been trying to code up an infinite waveguide. To do so, I need to build an open box and overlay several trigonometric functions onto the same set of axes. As someone fairly new to Mathematica, I ...
1
vote
1answer
48 views

How to Speed Up the Visualization of This 3d Graphics?

I want to visualize the following graphics: ...
1
vote
1answer
78 views

3D indicator function of a box with balls

I want to define the indicator function of finite number of identical balls with given centers and diameter in a box in Wolfram Mathematica. The box has the dimensions $0 \leq x_1 \leq l$, $0 \leq x_2 ...
0
votes
1answer
75 views

Solid of revolution - Shell method

I'm trying to plot the solid of revolution obtained by rotating the region enclosed by $y=x^(1/2)$ and $y=0$, $x$ from $0$ to $4$ ) about $x=5$. {y==x^(1/2), y==0} ...
0
votes
0answers
42 views

How to use Absolute Coordinates to define Graphics3D Rotation Compositions

When composing multiple rotations of an object inside Graphics3D, each rotation is applied in that object's local coordinate system. For example in this code (modified from Is it possible to ...
4
votes
1answer
68 views

Points in CIE Lab color space

The following points are Lab values (CIELAB color space) points={{46.76, 34.51, 17.08}, {43.51, 34.83, 15.7}, {45.49, 32.92, 15.24}} what I would like to do is a) ...
7
votes
1answer
221 views

How to recreate this 3D plot?

In other languages, one can make a FeaturePlot3D-esque graphics where the inset images look realistically three dimensional. Meaning that they are smaller when farther away (and also hazier). So how ...
2
votes
1answer
58 views

Color points in ListPointPlot3D in Manipulate

I have a Manipulate that allow users to choose which costs to disabled and they can slide the remaining sliders. I want the points that have ...
2
votes
1answer
72 views

How would one go about plotting this parameterized curve using numerical resources (analitically it's too hard)?

I'm working with the system of differential equations: $$\begin{align*} \left\{ \begin{array} { l l } { (u')^2 + (v')^2 = 1 } \\ {u'v'' - u''v' = -v' + u' } \end{array} \right. \end{align*}$$ Where $...
0
votes
1answer
79 views

Generate random point on the external surface of this complex geometry

This is a followup to this question of mine. How do I generate a random point on the most external surface of this complex geometry? ...
7
votes
1answer
322 views

Why is SVM unable to separate linearly separable data?

I have two sets of data, namely blue and yellow. I manually added a point {8, -3} to the blue data. ...
4
votes
3answers
348 views

How do I create a random point on the surface of a cube? [duplicate]

How do I create a random point on the surface of a cube? I mean on one of its six faces at random.
4
votes
1answer
132 views

How can I seamlessly stitch two separate 3D contour plots?

I am trying to make a 3D contour plot of a complicated function over a large parameter range, and I am struggling a bit to make it compute nicely and in a reasonable length of time: more specifically, ...
4
votes
3answers
327 views

How to display a finer sphere in Graphics3D?

I'm trying to display two highly zoomed-in spheres with the following code: ...
1
vote
2answers
63 views

Basic 3D Graphics Question

This is probably a very basic question, but I haven't been able to get it to work yet. I am trying to create a filled 3D space in the region $\qquad 0.1 < x < 9.2,\ 0.026 < y < 28.97,\ 0 &...
0
votes
0answers
18 views

How can I change the scale labeling in ChromaticityPLot3D while keeping the rest unchanged?

I wish to have a 3D chromaticity plot for LAB color space. It can be easily done using ChromaticityPlot3D["LAB", "LAB"] ...
1
vote
1answer
33 views

Using CSPlotter

I am trying to use CSPlotter, which is a way of visualizing the contact structure of $\mathbb{R}^3$ by plotting several sections of planes. It is written for an old version of Mathematica. I included ...
1
vote
0answers
44 views

Options problem for 3D plots

If I'm not mistaken, the code below should produce two identical pictures of a torus. But it does not. The MeshStyle->Thick option seems to be ignored for the first. Obviously the second code ...
7
votes
1answer
2k views

Why can't Mathematica draw a consistent mesh on a torus?

All 3 images are produced using ParametricPlot3D The left example is produced with no extra options. Note that the black lines, which is all I really want to see, cut in and out and are not ...
4
votes
1answer
115 views

Voronoi mesh from non-parametric surfaces for 3D printing

I am trying to make a Voronoi mesh from the Stanford Bunny surface for 3D printing, intended as a test case to make a Voronoi mesh from any arbitrary, non-parametric 3D surface. Related techniques ...
4
votes
1answer
84 views

3D arrow head not at the end of the shaft

Why when I use: Graphics3D[{Red, Arrowheads[0.1],Arrow[Tube[{{1, 1, -1}, {2, 2, 0}, {3, 3, -1}, {4, 4, 0}}, 0.05]]}] which I copied from the wolfram website the ...
0
votes
1answer
34 views

Function of a function using SphericalPlot3D

If anyone has any idea how to turn all of that plotting stuff (hcpii4plot) into a function which takes hcpii4angfunc[θ, ϕ] as an ...
3
votes
1answer
54 views

ColorFunction ranges for SphericalPlot3D

I'm not sure why ...
1
vote
2answers
50 views

Turning a simple 3D Image to Graphics3D for 3D printing

my3dobj = Image3D@Array[ Boole@FreeQ[Plus @@ Mod[PadLeft@IntegerDigits[{##} - 1, 3], 2, 1], 3 | 4] &, {3, 3, 3}^3] Got this from here. I'd like to 3D ...
3
votes
2answers
103 views

3D printing cardioid

I am hoping to 3D print some simple cardioid pictures, like the following: ...
2
votes
1answer
23 views