Questions tagged [graphics3d]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
50 views

Ising Model 1D /Thermodynamics properties

I want to plot the thermodynamics properties of the Ising model like free energy, entropy, magnetization..etc., when h=0 ( no external field ) and when h= finite values For the energy as function of ...
2
votes
0answers
53 views

How to draw projection of a point on a line in 3D?

Let be given a pyramid SABCD. Put H is projection of A on ...
0
votes
1answer
41 views

2D projection of a 3D plot [duplicate]

how we can obtain a 2D projection of 3D plot. I would to have a plot like this : PS: the plot is a publication paper.
0
votes
1answer
43 views

Plot Arg[z] in three dimensions

I would like to plot the function Arg[z] for a complex number $z$ in three-dimensions: I would like to obtain it as a surface over the complex plane, as in the &...
10
votes
2answers
429 views

How to draw the dashed line automatic behind of a pyramid?

I am trying to draw this pyramid like this I tried ...
0
votes
1answer
62 views

Coloring according to orientation

I have the set of the following 3D objects (this is an MWE just for visualization of the issue): ...
6
votes
1answer
149 views

PlotRange is not working with MaterialShading in Graphics3D

Here is a minimum example: ...
2
votes
1answer
51 views

Remove shadow in 3D plots with different viewpoint

Consider the following two plots ...
0
votes
1answer
79 views

Rotating arc about an axis - with Circle3D. Or not

I borrowed Circle3D from here How to draw a Circle in 3D on a sphere and wrote the code below. Maybe you can guess: The red and green arcs are rotating as I want them to - about the z-axis. But I want ...
2
votes
3answers
270 views

How to impose golden color on 3D object with flat surface?

I would like to have a 3D object with a golden color as in the attached image, how can I create such color and edges in Mathematica? Here is my try ...
0
votes
0answers
38 views

Dashing issue in Graphics

I have plotted a 3D image using Graphics3D and I have included a Dashing option. If I save the image as a png file (left image) ...
7
votes
1answer
143 views

Different TextureCoordinateFunction in two faces of a surface

Let us say that we have the following example from the Texture[] help page, modified with FaceForm[] to get different textures for the inner and outer faces: ...
1
vote
1answer
60 views

Remove artifact in Graphics3D

I have this 3D image where on top(below) there is a hemisphere(blue) and an inner cylinder(green), you can see there is some overlap/artifact being displayed. How can I remove this? ...
7
votes
3answers
930 views

How to draw two circles on sphere?

I am trying to draw two circle SAB and ABC on this sphere (no need dashed line) I tried ...
0
votes
1answer
53 views

Quarter circle surface opening outward

I have a Graphics3D issue, I have a cylinder within a cylinder. I want to generate a surface from a quarter circle, but the quarter circle should be "curving ...
3
votes
1answer
123 views

3-d plot labels

I would like to put labels on vertices instead of putting a label on axes. I am not sure how this can be done. My specific question is the following. In the attached 3-d picture, I would like to ...
0
votes
1answer
35 views

Error in plotting two spheres under a transformation

The following code tries to plot two unit spheres undergoing transformation of their radius and also a translation in z direction: ...
0
votes
1answer
59 views

How to show these two plots "clearly"?

The following two plots are not visible when shown togather: ...
3
votes
0answers
69 views

How to rotate Graphics3D perpendicular to the screen?

The docs say I can move to corner to the graphic to start rotation in direction perpendicular to the screen, yet in my own 3D plots, this doesn't work, any idea how to turn it on? (Mathematica 12.3.1 ...
1
vote
1answer
96 views

how to rotate a 3D vector around arbitrary axis

I have three vectors red, blue, and green and their origins are at (x,y,z) where red and blue are perpendicular and can be rotated together in the x-y plane by ...
1
vote
1answer
35 views

How do I find the new coordinates of a rotated Cuboid[]?

How do I find the new coordinates of a rotated Cuboid[], obtained through ...
2
votes
0answers
77 views

Visualizing a curve "from the side"

I'm trying to animate the idea that values of $\sin x$ are concentrated around -1 and 1. Looking at the sine curve from the side, middle should be lighter than the edges. My first attempt doesn't ...
1
vote
1answer
49 views

Is there a way of plotting ParametricListPlot3D?

I wish to draw a closed shape in 3D using a list of points. Specifically, I want to plot the product of an expensive function "qfun" of angular coordinate theta, with a simple function of ...
5
votes
2answers
166 views

Rasterize drops anti-aliasing/changes axes thickness

When I Export a result of Rasterize, I seem to get a worse-quality image, compared to exporting image directly. Image dimensions are the same in both cases. The ...
8
votes
1answer
139 views

Extraneous curve due to MeshFunctions

I was using MeshFunctions to get intersection of quadratic with plane, but am getting some unexpected curves, any idea how to get rid of them, or maybe a more ...
1
vote
1answer
91 views

Bloch ball for a given transformation: Applying transformations to regions

How can we apply transformations to Regions in the Wolfram language? For example, given the transformation $r_x \rightarrow r_x\sqrt{1-g}, r_y \rightarrow r_y \sqrt{1-g}, r_z \rightarrow g + r_z (1-g)$...
2
votes
1answer
349 views

How can I reduce this code to draw a cone and a pyramid

I am trying to draw this question by Mathematica. I tried ...
5
votes
1answer
133 views

Rotation/Viewing options for 3D plots

Preamble In this post from several years ago: , it has been suggested that a "Globe" method is available for RotationControl. ...
1
vote
1answer
63 views

Generatrix visible in RevolutionPlot3D with thickness

I am trying to plot an open cone (without the base) with a certain thickness. I have first tried with RevolutionPlot3D as follows: ...
3
votes
4answers
515 views

Graph3D behavior does not seem to be following the given options. Is this a bug or am I not stating the options properly?

Something simple like RotationAction->"Clip" doesn't perform the intended change. Example: ...
0
votes
0answers
46 views

Does Glow work during mouse-driven 3D rotations in Mathematica Online?

As specified in the documentation for Glow, the code Graphics3D[{Glow[Red], Black, Cylinder[]}] displays a cylinder that glows ...
2
votes
0answers
78 views

Why do Spheres with negative radius appear dark?

If I run the following, Graphics3D@{Blue, Sphere[{0, 0, 0}, 1], Sphere[{3, 0, 0}, -1]} I find that the positive radius sphere is properly lit as one would expect, ...
3
votes
0answers
58 views

Visible point light

Is there a way to create a visible light sphere for point light? The default behavior is the following: And the desired is the following: I'm working in mathics-threejs-backend, the 3d graphics ...
0
votes
0answers
42 views

Graphics3D default properties? [duplicate]

I realized that it is impossible to reproduce default sphere only by declaring its color. ...
0
votes
2answers
196 views

Contour Plot in Spherical coordinates

There is a ContourPlot3Din Cartesian coordinates, and afik none in dealing with implicit functions in spherical coordinates. EDIT1: If provided the spherical plot ...
3
votes
1answer
92 views

Combined Plot3D of two functions, each with own MeshStyle?

Can someone suggest a way to specify per-function MeshStyle when plotting multiple functions? An example is below, I'm trying to show two contours, with black and red/dashing style. The Plot3D only ...
2
votes
1answer
72 views

Hide edges of cube [closed]

Is there an option to hide the edges of a Cuboid? The default behavior is the following: And the desired is the following: I'm working in mathics-threejs-backend ...
3
votes
1answer
119 views

Extracting Lighting specs used in a Graphics3D object

I'm getting a plot which is mostly fine with Lighting->Automatic, but a bit too dark. How do I go about getting the Lighting specification used in the plot so I ...
2
votes
1answer
140 views

Can I draw a sphere using Graphics3DSketch?

I've seen a very nice example to draw a sphere with dashed longitude/latitude in the invisible part: Dashed mesh behind 3D object. I wonder is it possible for me to only include the equator and two ...
8
votes
1answer
123 views

Can I dash only the invisible edges of dodecahedron? [duplicate]

I'm new to Mathematica and trying to draw a dodecahedron. Here's my code and output: ...
1
vote
2answers
116 views

Plot or draw a differential geometry graph in Mathematica?

I want to draw a differential geometry diagram, but I don’t know how to draw it. I can only draw graphics like the first picture. There are many differential geometry diagrams in textbooks. What tools ...
3
votes
1answer
109 views

Lighting/Mesh problem after GeometricTransform

This is probably a silly question but... Context I have gathered from this site Functions to draw sets of concentric 3D rings as follows: ...
0
votes
0answers
34 views

Graphics3D: Background object erroneously placed in front of foreground object

I want to plot the trajectory of a particle running on sphere together with the particle sitting on top of the last point of the trajectory. The problem is that in the resulting plot, it appears as if ...
0
votes
0answers
56 views

Where is wrong in this code to plot intersection of a plane and a sphere?

I am trying to plot the circle is intersection of the sphere with center O(0,0,0) and radius R and the plane ...
0
votes
1answer
68 views

Plotting normal vectors to planes and to paraboloids (picture seems inaccurate)

I have a somewhat complicated picture (actually two) to plot that I've been struggling with in Mathematica... the first one almost worked: ...
2
votes
2answers
150 views

Convert image of roads to 3D graphics

I have images like this: and I want to convert those lines to 3D graphics so I can export it as OBJ or STL. My best attempt has been by using MorphologicalGraph (following this post) and doing: ...
0
votes
0answers
51 views

Animate smooth transition between viewpoints with ViewProjection -> "Orthographic"

I'm looking for code to animate smooth transition between 2 viewpoints with ViewProjection -> "Orthographic". My first attempt is below but it's ...
9
votes
0answers
220 views

Visualising 'The Moessner Miracle' in higher dimensions

I thought it would be interesting to try and represent "The Moessner Miracle" in higher dimensions. This is my first attempt for higher dimensions anywhere so I'm not sure if the logic is ...
5
votes
2answers
487 views

"graph-paper" style for z=0 plane in a 3D plot

I'm looking to get publication-quality illustrations in the style of "Interactive Linear Algebra" book where z=0 plane has the look of graph-paper What is a good pattern to achieve this ...
0
votes
1answer
51 views

Retain rotate, zoom and pan in Plot3D generated inside a Palette

Consider the following .wl package: ...

1
2 3 4 5
37