Questions tagged [graphics3d]

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

Filter by
Sorted by
Tagged with
2
votes
3answers
171 views

Graphing a solid between two structures using spherical coordinates

How can I graph the solid that lies above the cone $z=\sqrt{x^2+y^2}$ and below the sphere $x^2+y^2+z^2=z$? I tried ...
7
votes
2answers
329 views

Animate flow lines of time-dependent 3D dynamical system

I've spent a bunch of time perusing Stack Exchange to try to find an answer and found nothing; hopefully this isn't a duplicate. I have a time-dependent vector field $\Phi_t(x,y,z)=(x\lambda^t,y\...
2
votes
1answer
59 views

Vector field Stream?

The following graph shows the vector plot. How can I plot the solid lines which represents how the vectors are spatially varying and both on the same graph (vector plot and stream field)? ...
1
vote
1answer
38 views

How can I Plot lines in different colors from a data in Graphics 3D?

I want to plot all these different line in different colors to visualize them better. But all I get is the black color for all of them. ...
9
votes
1answer
86 views

Testing visibility and projecting in Graphics3D

I'm trying to create a version of Alberti's window, a figure that represents the projection of a three-dimensional figure onto a two-dimensional plane. Here are my steps: 1) Create the three-...
5
votes
1answer
54 views

Combining 3D graphics with different lighting conditions

I would like to create a 3D graphic of the bust of Beethoven with specified lighting position, as well as a small (colored) set of axes. I would like the axes to not be affected by the position of ...
0
votes
1answer
22 views

Surface to be printed appears with virtual Thickness?

...
0
votes
0answers
12 views

Weird interaction between RegionFunction and MaxRecursion

Compare the two following outputs: ...
0
votes
0answers
24 views

Error visualizing with ListDensityPlot3D

I have list of data points having elements {x, y, z, F(x, y, z)}, which I want to plot using ListDensityPlot3D. (x, y, z) are the points on surface of sphere in cartesian system and F(x, y, z) is an ...
3
votes
0answers
47 views

Possible to create a 3D GeoRegionValuePlot?

I can create a zip-code-based 2D GeoRegionValuePlot, as follows: ...
2
votes
1answer
24 views

what is the equivalent of FrameTicks in ListPlot3D?

I want to put my own Ticks along ListPlot3D axes as I do with 2D plots. example : FrameTicks -> {{{{0.4, 0.4}, {0.8, 0.8}, {1.2, 1.2}}, None}, {{{0., 0.}, 0.25, 0.50, 0.75, {1.0, 1.0}}, None}} ...
4
votes
1answer
63 views

Way around rendering bug for 3D graphics in Mathematica 12

I have some complicated 3D plots that rendered fine in Mathematica 11. With Mathematica 12, however, objects are not drawn in the right order and objects that should be hidden appear in front. This ...
3
votes
0answers
31 views

How to create “spiky” 3D arrow tips?

The following code does pretty much exactly what I want except that the lines stick out of the arrow tips - see picture below. Is there a way to fix this so that one sees "spiky" arrow tips? I don't ...
6
votes
2answers
132 views

How to plot a crossection of a ParametricPlot3D?

I'm plotting a surface using ParametricPlot3D. Ideally I would like to plot an intersection of the surface with a plane just as seen in another question (Cross Sections or slices of 3d figures - ...
5
votes
3answers
186 views

How to get rid of “fringes” in 3D plot?

The code below generates a plot with some ugly "fringes". Is there a way to get rid of them and get a smoother graphic? ...
1
vote
0answers
46 views

Non-convex hull mesh from 3d points [duplicate]

I am trying to create a 3d mesh object from list of points, but the only options I see in Mathematica are ConvexHullMesh and ...
5
votes
2answers
109 views

How to show just one function from a stored plot?

Q: Is there a general way to remove particular functions from a previously stored call to a plot function? Here is a specific example: ...
1
vote
1answer
46 views

Translate (and scale) AnatomyData in three-dimensions

I would like to create a Graphics3D entity consisting of a human eyeball and a complex figure defined elsewhere. (For a minimal working example, assume that the ...
0
votes
0answers
43 views

GPUs for Graphics3D [duplicate]

I'm currently looking to buy an external GPU, and I'm wondering if an eGPU has the capability to accelerate Mathematica's generation of graphics. I'm primarily interested in creating animations from ...
9
votes
1answer
144 views

How to ray trace Graphics3D with UnityLink?

In version 12, you can create a scene in Unity from Graphics3D objects like this: ...
1
vote
1answer
57 views

Labeling distinct objects produced by Show[RegionPlot3D's]

I have these commands ...
1
vote
1answer
107 views

How to animate a cube with images on their faces?

From this code, how could I animate (speed given by the user) this cube at random so that each face shows me a different image. EDIT(The idea is that the cube rotates at random and shows different ...
2
votes
1answer
48 views

Manipulate too slow for rigid transformation of 3D object

I am trying to write a code that moves a cylinder inside another (a prismatic joint). Manipulate is very slow and I suspect that this is because the position of the movable part is being computed and ...
6
votes
2answers
190 views

Extracting points from 3D plot that lie along an arbitrarily oriented line

Starting from i.e. the following 3d plot: d = RandomReal[1, {100, 3}]; ListPlot3D[d] Is it possible to extract points that lay along an arbitrarily oriented line,...
2
votes
0answers
39 views

How to remove unwanted lines in Graphics3D [duplicate]

When I run the following code: ...
0
votes
0answers
51 views

Plotting trajectories that undergo modulus operation on a surface

I'm trying to plot an orbit as a surface in the extended phase space of the system $$\dot{q}=p$$ $$\dot{p}=-sin(q)(1+\epsilon sin(\theta))$$ $$\dot{\theta}=\omega$$ When $\epsilon=0$ the dynamics ...
1
vote
1answer
70 views

Set maximum space between elements in 3D mesh

A region in 3D space has been discretized to obtain a list of points. The resulting ListPointPlot3D plot is: I will like to obtain a mesh from these points, but ...
2
votes
1answer
36 views

Functional Opacity in VectorPlot3D

I am trying to plot a vector graph such that that vectors closest to the origin are opaque, and those furthest from the origin are transparent. I have tried using opacity with a function inside of it: ...
2
votes
2answers
49 views

ListPlot3D label is covered by surface in combined graphic

I'm trying to plot some points on the upper sheet of the hyperboloid. When I try to label them the label is partially covered by the surface. You can see this in the following code ...
6
votes
1answer
116 views

Perform mirror symmetry transformation of 3D model (in OBJ)

I have a full three-dimensional model in OBJ format: and I would like to perform a mirror symmetry operation... that is, reverse each point front-to-back. Because this model is spatially asymmetric, ...
1
vote
1answer
38 views

Putting legends within the frame of the plot at the desired position

dat1krafull = {{1.`, 2.61594`*^-8}, {10.`, 7.10017`*^-9}, {50.`, 2.1565*^-9}, {75., 1.6567...
3
votes
1answer
39 views

How to split overlapping values from different axis?

There are overlapping numbers in the plot below (the left down corner). The axis $T_e$ has the value $10^{0}$, and the axis $n_i$ has $10^9$. But the problem is that the values are imaged in the same ...
1
vote
0answers
36 views

Edit a code to become with combined animations

So in the following code, I would like to make the following animation. First: "t1" the blue line in the bottom together with "x,y,z" the blue lines in the top. So when "t1" finishes "z" finishes. ...
1
vote
1answer
47 views

Drawing Curve, Interpolating Points on a Sphere

I am implementing Lagrange motion of degree 6 in Wolfram Matematica, I have implemented everything and now when i came to an 'easy part', drawing part i am stuck. Which function could i use to draw ...
1
vote
1answer
37 views

Combining two parameters in animation

I need to make the following animations on the torus : t=ParametricPlot3D[{ (3 + Cos[v]) Sin[u], (3+ Cos[v]) Cos[u], Sin[v]-12}, {u, 0, 2 Pi}, {v, 0, 2 Pi},PlotStyle -> Opacity[.4],MeshStyle->None] ...
1
vote
0answers
79 views

Free energy surface plotting

Please feel free to move this to a different board if it doesn't fit the best here. I am working on trying to plot the free energy surface of ferroelectric materials, similar to the image below. Each ...
2
votes
2answers
63 views

Tooltip pointing for 3D polyhedron vertices

How is possible to use Tooltip to point out vertices of a polyhedron? Would like coordinate display while mousing over the vertex. Thanks for the help. ...
1
vote
1answer
32 views

Editing the graph to become with animation

In the following code: p1=ParametricPlot3D[{ (3 + Cos[v]) Sin[u], (3 + Cos[v]) Cos[u], Sin[v]}, {u, 0, 2 Pi}, {v, 0, 2 Pi}] p2=ParametricPlot3D[{Cos[Sqrt[2] t](3 + Cos[t]), Sin[Sqrt[2] t] (...
0
votes
0answers
61 views

Animated wrapping line and wrapping cylinder

I am trying to draw the following situation using any graphic program but I couldn't since I don't know how to make the animation. So your help is greatly appreciated. So my picture consists of two ...
0
votes
1answer
78 views

How can I plot a sphere like the picture in Mathematica?

The coordinate of two points are (0,0,1/3) and (0,0,-1/3) respectively.How can I get this picture in Mathematica?
0
votes
0answers
23 views

Two coordinate rotations and a translation to for a 4x4 matrix

I am looking to do ewo coordinate rotations and a translation. I'd like the new coordinate system to be shifted by x,y,z (in the directions of the same name) and then rotated by theta in the x hat ...
0
votes
0answers
62 views

Why does ListSurfacePlot3D yield a different surface fit than using Python code for best-fit quadratic curve (2nd-order)?

Using the same data, I obtain different surface fits on Mathematica (using ListSurfacePlot3D) and Python (using a code for best-fit quadratic curve (2nd-order)). Here's my code on Mathematica: ...
0
votes
1answer
42 views

How to extract parameters from fitted model for ListSurfacePlot3D?

I would like to obtain the parameters used by Mathematica to create this surface fit of 3d data: ...
1
vote
0answers
40 views

Close the polyhedron

I would like to close this polyhedron, forming its 3D graphics, I'm using rotate but I can't rotate the faces as I want. Help ...
1
vote
1answer
52 views

Plot Using User-defined Coordinates

Suppose instead of using Cartesian coordinate $\vec{x}=(1, 0)$ and $\vec{y}=(0, 1)$, I want to define new coordiates $\vec{a} = (1,0)$ and $\vec{b} = (\frac{1}{2},\frac{\sqrt{3}}{2} )$. And when I ...
0
votes
0answers
78 views

Create a tube from a section of a sphere using mesh

How does one make a meshed tube starting from a section of a sphere and later edit the tube's section parametrically.
1
vote
3answers
73 views

ContourPlot3D not wotking for slicing z axis in the ranges of 10^-13

I am using ContourPlot3D to obtain a slice plane at z = constant. However I find that the plane's position is not moving when the range is of the order of 10^-13. I am using the following code. ...
0
votes
1answer
77 views

Cut a slice at z in 3D plot in Mathematica

I am trying to cut a slice on z axis in a ContourPlot3d but I am unable to see any change in the slice plane. I am using the following code: ...
22
votes
2answers
1k views

How to project 3d image in the planes xy, xz, yz?

Some idea of how to do something similar to the image, but with any 3d object
2
votes
0answers
51 views

3D Perspective for Tree Graph

Given a random tree g = TreeGraph[RandomInteger[#] \[UndirectedEdge] # + 1 & /@ Range[0, 30], VertexSize -> 0.5] How can I make it look like it is ...