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

learn more… | top users | synonyms (1)

2
votes
2answers
171 views

intersecting cylinders

I try to replicate the two figures of two intersecting cylinders from here. I tried ...
37
votes
1answer
485 views

Random polyhedra walk

I would like to recreate ssch's random polyhedra random walk, which he posted in the chat. For convenience here it is again: This is my best attempt so far: You can download the notebook with ...
1
vote
3answers
177 views

how to plot 3d graph for x^2 - y^2 = 1? [closed]

How to plot 3 dimensional graph for x^2 - y^2 = 1? I am already using it and I only can plot in 2 dimensional graph. Can someone help me with this problem?
4
votes
2answers
94 views
0
votes
1answer
64 views

Rotate the output of Plot3D [closed]

f[x_, y_] := Sin[x^2 + y^2] Exp[-x^2] + Cos[x^2 + y^2] g2 = Plot3D[f[x, y], {x, -2, 2}, {y, -2, 2}, PlotPoints -> 50, Axes -> False, Boxed -> False] ...
1
vote
0answers
39 views

Plot3D PlotStyle V10.3 vs V7 [duplicate]

This is the from the the very good book of Hazrat He used Mathematica 7.0. In Mathematica 10.3 one gets ...
2
votes
2answers
125 views

Applying transformations to data coming from an STL file

I am very new with the use of 3D graphics in Mathematica, so my question might be very naive. I need to Import an STL file, apply transformations to it (rotation and translation), and export it back ...
2
votes
1answer
98 views
0
votes
1answer
92 views

How to colorize a 3D image [closed]

I have a 3D image where the values are in {1/4, 2/4, 3/4, 4/4} and its size is {134, 134, 67}. I used Image3D to display it. However, I am wondering if there is a possibility to colorize the image by ...
3
votes
1answer
97 views

Replicate an image from Documentation Center (EulerMatrix)

EDIT I try to produce an image similar to that (see here) but this time with an ellipsoid. I hope I am not wrong but the code that creates this beautiful image is not available in Mathematica's ...
6
votes
0answers
107 views

How can I export 3D plots as vector graphics? [duplicate]

Consider the following simple example code: plot3D = ListPlot3D[{{0, 0, 1}, {1, 0, 0}, {0, 1, 0}}, Mesh -> All]; Export["plot3D.pdf", plot3D] As clearly seen, ...
15
votes
2answers
434 views

Export Plot3D in Mathematica 10.1 is Rasterized by default

When I use Export to export Plot3D to PDF format, I get different behaviour in Mathematica 10.1 compared to 10.0. In particular, ...
6
votes
2answers
293 views

How to make a 2D plot of 3 variables (sample picture attached)

Is it possible to plot that kind of graph in Mathematica? (picture attached) If yes, it can be used to visualise a simple "balance system" of the form: X = f[e]; ...
1
vote
4answers
370 views

Mapping Contour Plot onto ListPlot3D (or by using color variations) [closed]

I am trying to overlay a contour plot I have created on a ListPlot3D graph. I have seen a few questions answered on this website that answer my basic question. ...
21
votes
4answers
1k views

How to make a blob in 3D?

I am trying to make a blob like the one shown below, but in 3D so I can rotate it. I'm trying to use ParametricPlot3D or ...
3
votes
3answers
208 views

Animate $2D$ butterfly curve in $3D$

There is a butterfly curve $$r(\theta)=e^{\sin(\theta)}-2.4\cos(4\theta)+\sin \bigg( \frac{\theta}{12} \bigg)^5$$ ...
3
votes
1answer
75 views

Change position and orientation of 3D object

I was trying to understand how 3D objects work in Mathematica, but I run into a problem I am not able to solve by myself. I have the following 3D plot: ...
2
votes
1answer
58 views

modifying graphics3D objects after their creation

Suppose I want to demnstrate two ellispoids; one with the center at the origin and the other translated. After the advice I got in the last question I use ...
4
votes
1answer
106 views

How to include 2 dimensional disks in a Graphics3D object (Ellipsoid)

I hope I am not doing something wrong. Compare the following figures. 1) Ellipsoid ...
2
votes
2answers
76 views

2D List Plot in a 3D box: What am I doing wrong?

Let me just show the result first, and you'll see the error easily: Now, this is just a 2D image sent into a 3D box, so you'd think they looked alike. But the 2D image behaves well: The code was ...
15
votes
1answer
647 views

Mathematica: 3D plot based on combined 2D graphs

I have several sigmoidal fits to 3 different datasets, with mean fit predictions plus the 95% confidence limits (not symmetrical around the mean) and the actual data. I would now like to show these ...
1
vote
1answer
75 views

change the size of the image

If this is trivial or a duplicate I apologize. I failed to find something. I have the following code ...
0
votes
0answers
47 views

Mathematica creates a huge eps file [duplicate]

I use the following code (based on the responses in my recent relevant questions) in order to generate randomly distributed unidirectional cylinders in a cylinder of elliptical cross section. ...
9
votes
5answers
2k views

How to render a 3D ellipsoid with Graphics3D?

With Graphics3D[Sphere[{0,0,0},1]] I can render a uniform 3D sphere, but how can I render an ellipsoid? I would need to specify the rotation of the ellipsoid and ...
4
votes
1answer
126 views

Render Graphics3D of anatomical data in color

I am trying to render a bone structure in color in Mathematica 10.3, but none of the obvious methods seem to work: ...
0
votes
1answer
45 views

Parameters of Ellipsoid dependent of other variables in Manipulate

I'm very new to Mathematica; I'm trying to use it to display a Manipulate of an Ellipsoid that contains the parameters dependent of other variables. For example, my ellipsoid equation ...
0
votes
1answer
108 views

How to draw cylinders inside a cylinder

It can be considered as a sequel to 98724 I adopt the code of ybeltukov (thanks again) and I slightly modify it. ...
7
votes
1answer
269 views

Plot the 3D complement

I have plotted a 3D region using Show[RegionPlot3D[set1, opt1], RegionPlot3D[set2, opt2], RegionPlot3D[set3, opt3]] So this command plots the union in $\mathbb ...
0
votes
1answer
142 views

Arbitrary Oriented and Translated Ellipsoid (Euler Angles)

EDIT! This is a recent post updated and with better wording. The title has also changed. Any attempts to find something relevant have failed so far. The closest is this Ellipsoid. First some ...
20
votes
4answers
1k 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 ...
23
votes
6answers
5k views

How to draw an ellipse arc in 3D?

There is no Circle or Disk object in 3D. I quickly found a way to use Cylinder (thin lines, no faces, very flat): ...
1
vote
2answers
84 views

How to scale one axis of a 3D plot?

I would like to scale one of the axes in a Parametric3DPlot. I tried adapting the recipe given in this answer to this case, but, as shown below, this attempt ...
1
vote
1answer
110 views

Transform a 3D objects to binary 3D matrix [closed]

Suppose that we have an unknown 3d object and we need to estimate it. We suppose that the object is inside a grid as below and we can do some test to eliminate the cubes or"voxel" which are not a ...
5
votes
3answers
644 views

How can I draw a hyperboloid given its generatrix?

I want to see how a hyperboloid of revolution is generated by its generatrix, i.e. by rotating one (say the one passing point $(1,0,0)$ and $(0,1,1)$) of the skew lines around another (say the z ...
-8
votes
1answer
698 views

Plot The Cornu Parametric Spiral

How do I plot the Cornu parametric spiral in 3D with Mathematica. The 2D is quite easy. For more details, you need to be familiar with the Cornu statement. $$\begin{cases} ...
9
votes
0answers
97 views

ListDensityPlot3D does not antialias axes

I sent a bug-report to Wolfram and the case number is [CASE:3454878] I'm on Linux with Mathematica 10.3 and I have my 3D graphics output set to the highest "Antialiasing Quality". It works fine for ...
1
vote
1answer
109 views

Manipulate: After Changing view of a Graphic, the sliders can't be used anymore

I have a new problem: I have exported my program as a cdf standalone. I changed the view of the graphic and now the sliders cant be used anymore. Very strange... Here is a screenshot: The orange ...
7
votes
1answer
184 views

DiscretizeGraphics and BoundaryDiscretizeGraphics Fail on CapsuleShape and SphericalShell

It seems the new Graphics3D primitives have some incomplete features. Earlier, I uncovered a problem with computing their exact surface area see here. Now, I ...
3
votes
2answers
251 views

How-to cast a set of random points on the surface of a cuboid?

I have been able to implement point picking for cylinders and spheres. However, I strugle to implement a solution for a cuboid. Please see code for point generation on cylinders and spheres below: ...
12
votes
2answers
1k views

OpenSCAD like functionality with Mathematica?

I keep seeing reference to use of Mathematica as a CAD tool (for instance, this). I'd like to use it as such if feasible, but I'm having trouble locating equivalents of the functionality I use in my ...
9
votes
1answer
120 views

Rotate manually 3D graphics when (auto)playing

Is there a possibility in Mathematica to allow for manual rotation of 3D graphics when (auto)playing either using Manipulate or ...
8
votes
3answers
1k views

How to make a 3D plot auto-rotate?

When doing presentation with Mathematica, I often want a 3D plot to rotate automatically, so the 3D feeling is stronger. I don't want to drag the mouse every time. So, I want a general function like ...
0
votes
0answers
39 views

best way of plotting 3D surface from a binary voxel representation in Mathematica [duplicate]

I do have binary Voxel based data for representing a 3D mesh, i.e. a VoxelVolume with values of 1 or 0, 1 specifying that the voxel belongs to the object, 0 not belonging to the object. Standard ...
238
votes
6answers
116k views

How do I draw a pair of buttocks?

I'm trying to develop a function which 3D plot would have a buttocks like shape. Several days of searching the web and a dozen my of own attempts to solve the issue have brought nothing but two ...
7
votes
0answers
95 views

10.2 ClipPlanes on Translated 3D objects crash front end

Bug introduced in 10.1 or earlier and persisting through 10.3 It seems the Translation of a simple 3D object (e.g. Pyramid) using the ClipPlane crashes with "Mathematica has stopped working". It ...
4
votes
1answer
70 views

3D Plot of Matrix with bars, overlayed with empty bars

I am trying to plot a matrix with bars, and show what the perfect case would give in the form of non-filled bars. The bars I was able to create: ...
5
votes
1answer
242 views