Questions tagged [graphics3d]

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

1
vote
1answer
30 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
33 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
34 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
42 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
28 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] ...
0
votes
0answers
72 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
55 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
30 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
58 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
76 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
21 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
52 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
41 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
38 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 ...
0
votes
0answers
33 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 ...
-1
votes
0answers
32 views

Points of intersections of a ray and a 3D model (STL)

I have a STL file :Example.stl I want to make a fan of rays in the XZ plane going towards the model and when a ray hits a surface on the 3Dmodel the coordinates are recorded (through all surfaces, not ...
0
votes
0answers
75 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.
-3
votes
0answers
42 views

Animated development of a polyhedron [duplicate]

I have to represent graphically the development of a polyhedron from flat polygons up to the full 3D model. I would like to use the rotation and translation commands, I have no idea how to do it. Can ...
1
vote
3answers
64 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
63 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: ...
21
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 ...
13
votes
3answers
621 views

Concise way to draw this pyramid

I wrote the following to draw a pyramid, this approach uses functions TranslationTransform and Tuples, is there a way to do the ...
6
votes
2answers
315 views

Plot Taylor–Couette flow ilustratation plot

I am trying to plot a set up for a classic problem of physics of fluids using Mathematica, see Wikipedia for a reference. The problem is the movement of two concentric cylinders with two radii and ...
0
votes
0answers
43 views

How to assign an image to all the 12 faces of a Dodecahedron [duplicate]

How do i assign an image to all of the 12 faces of a Dodecahedron?
1
vote
0answers
43 views

A 3D curve that originates from a face of a polyhedron

I need a hand to help me with a study i'm making. I have to unite two 3D objects: a face of a polyhedron with the points taken from PolyhedronData a 3D curve I ...
2
votes
1answer
62 views

Weird lighting for spherical plot

Consider the following code : ...
2
votes
0answers
33 views

Rendering axis labels in 3D data plot using Graphics3d

I have a data and I'm trying to plot the data. But the plot axes label keeps on changing when rotating the figure for in order to find the right position of view point, then save it later. I checked ...
2
votes
2answers
97 views

Symmetrical rotating tetrahedron

How to find the vertices of a regular tetrahedron? a dodecahedron? I already get the coordinate of the tetrahedron, but i don't know how to rotate it just like the gif
0
votes
0answers
18 views

Revolution Issues

I'm trying to plot a surface of revolution but somehow when I do it the ends get cut off. Is there something wrong with my code? The graph looks fine when i graph it on a 2d plane.
0
votes
1answer
38 views

Difficulty Displaying an Untransformed and Transformed Graphics3D Object with Show

I would like to illustrate a sequence of translations and rotations relative to the initial coordinate system simultaneously with multiple views using Manipulate. I discovered that there are some ...
0
votes
0answers
54 views

How to solve “Coordinate should be a triple of numbers”?

Something seems different with duplicated question "How to solve this error? “should be a triple of numbers or a Scaled form.” ", MMA tips may tell that Abs do not ...
0
votes
0answers
39 views

3D plots don't show box or axes in 11.3 on Linux [duplicate]

I am using Mathematica 11.3 Student Edition on Linux (Ubuntu). When I make a 3D plot using Plot3D or ParametricPlot3D or any ...
0
votes
0answers
45 views

How to plot four-dimensional discrete data (x,y,z,p)?

I have got a large list of 4D data (x position, y position, z position, amplitude, and they are 1D arrays). I want to plot x, y, z as axis and amplitude as an express of color. Maybe I could use ...
3
votes
3answers
372 views

How can I obtain and work with a Platonic dodecahedron?

I want to obtain and work with a Platonic dodecahedron like this one: http://comsics.usm.my/tlyoon/teaching/ZCE111/1819SEM2/projects/Dodecahedron_platonic4.gif I dont have basic knowledge needed to ...
0
votes
0answers
27 views

Opacity or related issue with DensityPlot3D

I'm trying to make use of the function DensityPlot3D with the following specific example ...
2
votes
2answers
105 views

Fill points into a pre-rotated convex Dodecahedron

I am trying to fill a rotated convex polyhedron with points. This functions well in the unrotated case: ...
2
votes
0answers
31 views

How to allow Image3D to be dragged on Wolfram Cloud?

I have an 3D image as below, and then I deployed it to Cloud with Public permission. However, in the cloud, it is just a "static image", and user can't drag the image interactively (to change the ...
3
votes
1answer
63 views

Glue a series of images as textures on various points of a sphere

Using the techniques outlined in the answers to this and this questions, it's possible to map images as textures on the surface of a sphere or other object. These questions, however, consider the ...
1
vote
1answer
53 views

Arrow tube with flat arrowhead

I'm trying to create an animation which includes a spinning 3D arrow, but the arrowhead appears to be flat: ...
0
votes
0answers
25 views

Rotations of spheres and circles

I had this piece of program working before, and can't make it do the dynamic thing anymore. Can you help me put it back on track. Purpose is to show points moving along when the spheres (little ones) ...
2
votes
0answers
46 views

How to segment a 3D data automatically?

I have a data dataCube, which consist of some floating stones and a circular belt. I want to get the 4 biggest stones from the image, and segment out the outer belt ...
1
vote
1answer
38 views

Converting between types of Graphics

The above title will probably not be unfamiliar to the readers of The Mathematica Book 5, the former being the topic of the Section 7, Chapter 9, Part 1 of the latter, where three functions are ...
0
votes
1answer
27 views

Extracting x,y,z points from ParametricPlot3D

I would like to know if there is a way to extract x,y,z points from ParametricPlot3D. > ParametricPlot3D[{a1, b1, c1, d1, f1, g1, h1, i1, j1}, {t, 3, 4}, {w, 0, 2 [Pi]}, Axes -> True, AxesStyle ...
0
votes
1answer
66 views

How can I use options for a ParametricPlot3D?

Using this command I can plot three different curves using ParametricPlot3D ParametricPlot3D[{{t x, Sin[t x], 0}, {0 , Sin[t x], t x }, {t x ,Sin[t x], t x }}, {t, 0, Pi}, {x, 0, 4}] However, my ...
1
vote
1answer
45 views

How to apply color function (e.g. Hue) to Image3D?

I have a 3d image data PlotData1, and I want to plot the Image3D with color. I tried this (Note: I don't have ...
-1
votes
1answer
37 views

Calculating 3d points for spherical cap [closed]

Calculating 3d points for spherical cap, given radius for sphere and height of cap (h).
2
votes
1answer
74 views

How to make an imported 3D Image look like X-Ray?

I have a human chest data as below:- ...
0
votes
2answers
53 views

How can I plot a function (unidimensional) in a 3D plot

I would like to plot a figure like that using Mathematica. They figure are three plane wave ( cosine or sin ) all share and have the same coordinate origin. As you observe, the waves propagate along ...
9
votes
2answers
284 views

Catmull-Clark and Doo-Sabin Subdivision Implementations

I want to work on subdivision surfaces. Unfortunately, I don’t have any source code to start with. I need some Mathematica codes for applying Catmull-Clark and Doo-Sabin methods. I would like to ...