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

learn more… | top users | synonyms (1)

2
votes
0answers
85 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
579 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
108 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
91 views

Graphics3D opacity of lines

I would like to make the lines opaque for a plot of form similar to: ...
2
votes
1answer
119 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
110 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
42 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
173 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
146 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 ...
15
votes
5answers
659 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
188 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
449 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 $Y(...
5
votes
1answer
186 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
132 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
109 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
536 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
125 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 ...
2
votes
1answer
63 views

Flipping Origins of Axes 3D Plot

This is the code I am using: ...
2
votes
1answer
44 views

Why do I sometimes get errors when exporting 3D graphics which have been translated or scaled?

When I try and export 3D graphics, I get an error if some of the graphics complexes are translated. such as: ...
10
votes
2answers
463 views

create an (almost) hexagonal mesh on an ellipsoid

EDIT I edited the question in order to take into @Kuba's comment. I want to create this figure with Mathematica (in particular an almost hexagonal mesh on an ellipsoid; thanks to @Kuba I know this ...
1
vote
1answer
99 views

Generate $n$ randomly oriented non-intersecting cylinders with fixed radius and length

This post is in reference to the previous question here. How could I adapt the solution given to have the following constraints: fixed radius, fixed length, number of cylinders, and within a ...
4
votes
2answers
138 views

Using RevolutionPlot3D to visualize a volume

I am working with some calculus students and trying to visualize solids of revolution. RevolutionPlot3D works well for this, but I am having a bit of difficulty with the syntax of the command. The ...
1
vote
1answer
96 views

PametricPlot3D vs ContourPlot3D

Basically, I don't know whether I am missing something mathematically fundamental or I misued Mathematica's functions. ...
0
votes
0answers
30 views

How can I efficiently select certain mesh elements based on measurement criteria?

I am trying to do some mesh cleaning based on element size, but I'm having a hard time seeing how to best use the MeshRegion data structure to accomplish it without ...
4
votes
1answer
282 views

Graphs in 3 dimensions

I have a desired graph as here: the dashed line is just for perspective representation. I tried with LayeredGraphPlot and ...
2
votes
0answers
69 views

DiscretizeRegion fails on two clearly intersecting cylinders

Intersecting cylinders has been on the top here lately, so it got me to thinking of this, ...
2
votes
3answers
127 views

Function of surface roughness

How do I draw with Mathematica a function like this? I would use a series of circles and find the surface. Thanks!
2
votes
2answers
188 views

intersecting cylinders

I try to replicate the two figures of two intersecting cylinders from here. I tried ...
1
vote
3answers
3k 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?
1
vote
0answers
40 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 ...
0
votes
1answer
79 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] ...
3
votes
2answers
250 views

generating randomly oriented non-intersecting cylinders

I could not find anything relevant with "googling" (only this) I can create a set of randomly oriented cylinders (code found here) ...
5
votes
2answers
127 views

Align ColorBar (axislabel) to be parallel to the y-axis for any view-angle

The following code produces the 3D plot below (which is almost what I want). ...
0
votes
1answer
108 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
117 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 ...
7
votes
0answers
124 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, ...
3
votes
1answer
118 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: ...
3
votes
3answers
260 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$$ ...
2
votes
1answer
71 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
126 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
105 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 ...
1
vote
1answer
77 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
58 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. ...
22
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 ...
4
votes
1answer
160 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
55 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
136 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. ...
1
vote
0answers
61 views
7
votes
1answer
282 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 R^...