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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

0
votes
0answers
9 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
61 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? ...
6
votes
1answer
295 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
328 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
126 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
316 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
14 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
32 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
41 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
82 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 ...
3
votes
1answer
76 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
30 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
38 views

ColorFunction ranges for SphericalPlot3D

I'm not sure why ...
1
vote
2answers
44 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
99 views

3D printing cardioid

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

ViewPoint messes up Export?

Version: 11.3.0 for Mac OS X x86 (64-bit) (March 7, 2018) ...
0
votes
1answer
55 views

Finding surface fit on 3D graph that have different data length

I have a question to find the surface plot on the list of data with different data length. Each of the sample a different length, how can I combine all these data and find the best fit surface for ...
4
votes
1answer
41 views

Can I obtain true colours with .stl files from my 3D plot?

I am trying to obtain 3D printable files from 3D plots with the code: ...
0
votes
2answers
65 views

How can i draw ellipse in 3D? [closed]

I’m using mathematica 9.0 and want to draw an Ellipse in 3D. I notice that there is “Sphere”, but not ellipse... what is the easy way do draw one? Thanks
0
votes
0answers
42 views

Mathematics behind 3D point dragging

In several answers to questions related to dragging a point in 3D (for example: How can I select one out of several Graphics3D objects and change its coordinates in Mathematica?, or How can locators ...
5
votes
1answer
110 views

How to force the ellipsoid of BubbleChart3D to be spherical when the BoxRatios is rectangular?

I have a BubbleChart3D as below, while the BoxRatio is rectangular: ...
5
votes
2answers
188 views

How to draw 3D scatter plot with sizes of points reflecting value?

I have a 3D scatter plot as below. First 3 columns of the points are the location. ...
3
votes
2answers
104 views

How to draw a 3D curve using ListPointPlot3D with continuously changing colours?

I have a list of points in the form of data = {{x1, y1, z1}, {x2, y2, z2}, ......, {xn, yn, zn}} and I can draw a 3D curve using the data using the command <...
1
vote
2answers
49 views

Visualize extremal points of 3D function with additional conditions

When looking for the critical points of $f(x,y) = x^6+y^6+x^2+y^2$ only on the set $M = \lbrace (x,y) \in \mathbb{R}^2 \mid x^2+y^2 = 1 \rbrace$ I ask myself for a good visualization. So it would be ...
0
votes
1answer
47 views

viewpoint of 3d plot?

I am trying to visualize a Convolutional Neural Network. Here is my code and figure: ...
3
votes
2answers
179 views

Using Graphics3D to plot sphere upon XYZ coordinate frame

I think there should be an easy way to accomplish my task but I have not found it yet. I would like Graphics3D to plot a simple sphere, radius $1$, centered on ${0,0,0}$. And, the plot should be ...
4
votes
0answers
45 views

What is a good source of public domain 3D images that can be imported into Mathematica?

I am interested in using some 3D images for a lesson I'm developing for kids, in which I want to show them various printouts of 2D cross-sections of the image and have them try to figure out what the ...
21
votes
1answer
922 views

Why would the color of graph change once the number of vertexes reach 1000?

I have created 3 graphs for vertexes number 998, 999 and 1000 as below:- ...
3
votes
2answers
54 views

How to combine density plot and a given image?

I have a sine plot and image, and I want to combine the two on 2D basis and 3D basis. I tried below:- ...
2
votes
2answers
41 views

How to avoid the graph object's edges in a Plot3D look so fat?

I have a graph graph0 inside a plot as below:- ...
1
vote
0answers
20 views
4
votes
2answers
91 views

Rotating stacks of cubes

I've created a function that takes a list of stack heights and returns a stack of cubes: ...
1
vote
1answer
27 views

add arrows in ParametricPlot3D plots [duplicate]

I'd like to know if there is a simple way of adding arrows in specified positions. For example, given ...
10
votes
1answer
327 views

How to protrude a 2D image wrapped on a 3D surface

There are a few posts on this theme: How to make a 3D globe? How to render a 3D tubular graphics from a 2D image path How to extrude a 3D image from a binary 2D image However I can't quite piece ...
7
votes
2answers
176 views

How to Wrap the Points of a 3D Clustering Plot?

I am doing clustering and have a plot as below:- ...
13
votes
3answers
304 views

Plotting the Layers of Earth

I want to generate a picture like below with mathematica. I mean exactly the same thing except maybe the map depicted on the outer layer. But I don't know where to start from! I would appreciate it if ...
2
votes
1answer
55 views

How to show date format (yyyy/mm/dd) in ListPointPlot3D?

I have data1, whose first column is, in fact, the date (i.e. number of days from 1900/1/1). I then create a 3D plot as below:- ...
4
votes
1answer
74 views

How to add an image to the bottom of a ListPointPlot3D?

I am trying to plot the points of virus outbreak along time of 3 areas. I already have the data1, which have 3 columns: x-coordinate, y-coordinate and time. Then I ...
4
votes
2answers
71 views

How do I convert a mesh region back into the Graphics3D format?

The Graphics3D format has more styling options than mesh based graphics, so I was wondering if there was a way to convert mesh based objects such as region intersections and unions back into the ...
3
votes
0answers
21 views

How can I disable built in selection action for mouse click events? [duplicate]

I am trying to improve a demonstration that I previously submitted to the Wolfram Demonstration site. That demonstration enables a user to select a position on an Earth globe and see the latitude and ...
5
votes
1answer
219 views

Cycles on a torus

I can draw a torus using a ParametricPlot3D: ...
2
votes
1answer
46 views

Edges disappear and faces appear in STL export

I will create a 3D printable model of a kagome lattice on a torus. I've used some code of this question. ...
4
votes
1answer
70 views

Exporting a dynamic as a gif

I'm using a dynamic module to rotate a Graphics3D at a certain rate: ...
10
votes
3answers
1k views

Transform sphere into a cube

I'm trying to get into animation using Mathematica, and I want to create a simple animation where a sphere in a black space gets "morphed" into a cube. I know how to generate a cube and how to ...
5
votes
3answers
107 views

Working with text in 3D graphics

I'd like to add text to the surfaces of a cuboid. I have tried Text and Epilog, and neither of them worked. Consider the ...
6
votes
1answer
79 views

The effect of NormalsFunction on the number of function evaluations in Plot3D

An interesting issue was raised in comments to the following question: Monitoring Plot3D with a given number of plotpoints. We were discussing the fact that a ...
1
vote
2answers
69 views

How to get the list of vertices of each side of a convex hull 3D figure

From the question "How to get a list of vertices in a convex hull" I can get the list of vertices of each triangle that form each face of the convex hull from a set of {x,y,z} points and also close ...