Questions tagged [graphics3d]

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

Filter by
Sorted by
Tagged with
15
votes
2answers
468 views

"Ribbon arrows" in Graphics3D

I'd like to create what might be called "ribbon arrows" in a Graphics3D, as shown in this figure: The center of curvature must be on a specified point (...
2
votes
1answer
112 views

Combining VectorPlot and Graphics3D

I have a simple VectorPlot3D VectorPlot3D[{x, y, z}, {x, -1, 1}, {y, -1, 1}, {z, -1, 1}] Can I substitute the default arrows with Graphics3D object like: ...
0
votes
0answers
45 views

Rendering problem of a 3D plot [closed]

i have a little graphic problem. I had generate an interpolation function (with function Interpolating[...,Method->"Spline"]) called intspettro[1][L,w], in the variable {L,w} in the range,...
1
vote
2answers
70 views

How to create a Manipulate Object with an extra field that depends on what is selected in earlier fields?

I am interested in exploring the new MaterialShading function. I have created a Manipulate object with two fields for making a Graphics3d object of ExampleData's built-in cases. The first parameter ...
1
vote
3answers
116 views

Color a 3D line plot of list of lists

Assume a list of lists of length n of the kind: t = {{x1, y1, z1, p1},{x2, y2, z2, p2},...,{xn, yn, zn, pn}}. I'd like to make a ...
4
votes
0answers
108 views

How to create a Lichtenberg Figure?

I want to create a simulated Lichtenberg figure in a manner similar to this image: What is a good method to generate Lichtenberg figures? There is a very helpful post on Wolfram Community about ...
1
vote
0answers
45 views

What parametric equations could be used to replicate these surface plots seen on 3d printed vases?

I came across this interesting link and am curious to know what generic equations were used to create these waves on the vase surface? It was mentioned that special dates could be incorporated into ...
2
votes
1answer
93 views

Draw partition of 3D polygon

I want to draw a partition of an arbitrary 3D polyhedron like this drawing. Where can I find examples of how to draw this? Upd: For example, I have this code on python ...
2
votes
2answers
180 views

Draw a (1/4) partial 3D cylinder in a quadrant

Here is a code to draw a full cylinder $\theta \in [0, 2\pi)$: Graphics3D[Cylinder[{{0, 0, 0}, {1, 0, 0}}, 1/2]] My question is that how do we draw a 1/4 of the cylinder, such that it only appears in ...
0
votes
1answer
58 views

Use Inverse Stereographic Projection for a logarithmic spiral onto a sphere - 3d printing

I have the idea to use ResourceFunction["InverseStereographicProjection"] to project various plane curves onto a sphere for the purpose of 3d printing. This would require that the plane ...
1
vote
1answer
51 views

RegionDifference of a sphere and pyramid - Not correctly specified

I would like to cut out a pyramid from the sphere with the following but somehow I am missing something due to an error "RegionDifference object is not a correctly specified region" ...
0
votes
0answers
45 views

Umbilic torus - Export to stl format produces bad mesh in MeshLab

I am interested to 3d print the following structure from this link. I assigned FaceForm and Thickness to check check for orientations and to give some thickness for printing. The resulting stl is ...
0
votes
1answer
48 views

Could anyone help me to plot the following function? [closed]

Unfortunately Mathematica is not able to run the following program area[d_]:=Pi*d^2/4 Q=80/1000 v[d_]:=Q/area[d] [Nu]=10^-6 Reynolds[d_]:=v[d]*d/[Nu] [Epsilon]=0.04/1000 CW[[Lambda],d]:=1/Sqrt[[Lambda]...
1
vote
1answer
68 views

Rotate the label when rotating the output image with graphics3D

I am interested in drawing a labelled dashed line through points p1 and p2 with Graphics3D. ...
0
votes
1answer
57 views

How to combine MeshCellLabel with Placed?

I would like to draw a line between two points and place a label "label" at its center, above the line. It would be also useful if this label remain parallel to the line when rotating the ...
1
vote
1answer
50 views

How to put a label above a point of a line?

My intention is to put a line to points {0,0,0}, {0,0,1}, and {0,0,2} and make a label "...
1
vote
0answers
68 views

Show distances, angles, and torsions with MoleculePlot3D

I would like to display some bond lengths, bond angles, and torsion angles of a molecule with MoleculePlot3D. For the example ...
3
votes
1answer
46 views

Label the atoms of a molecule imported from an XYZ file

I would like to label the atoms of a molecule imported from an XYZ file. The only example that I found is the following (How to label with numbers atoms when MoleculePlot3D): ...
0
votes
1answer
41 views

How to flip the z axis of a Graphics3D in order to create a left-handed coordinate space?

I would like to know how this 3D graphic could interpreset the y axis as being the up direction and the z axis flipped so that it creates a left handed coordinate system? ...
-1
votes
1answer
63 views

3D shearing w. r. t. x-axis [closed]

Shearing in $X$ axis is achieved by using the following shearing equations- X_new = X_old, Y_new = Y_old + Sh_y × X_old, Z_new = Z_old + Sh_z × X_old My question is during Y_new and Z_new calculations ...
0
votes
0answers
63 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
62 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 ...
1
vote
1answer
56 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
48 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 &...
11
votes
2answers
466 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
67 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
155 views

PlotRange is not working with MaterialShading in Graphics3D

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

Remove shadow in 3D plots with different viewpoint

Consider the following two plots ...
0
votes
1answer
80 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
279 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
39 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
149 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
62 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
953 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
56 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
125 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
36 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
60 views

How to show these two plots "clearly"?

The following two plots are not visible when shown togather: ...
3
votes
0answers
71 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
100 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 ...
3
votes
0answers
81 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
52 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
170 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
140 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
93 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
351 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
144 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
64 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
518 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: ...

1
2 3 4 5
38