Skip to main content

Questions tagged [graphics3d]

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

Filter by
Sorted by
Tagged with
4 votes
3 answers
181 views

How to change the axis orientation of the cylinder in `ContourPlot3D`?

How to get the axis of the cylinder oriented along the red line shown in the figure below ? Here is my code : ...
Arssat's user avatar
  • 129
1 vote
1 answer
125 views

How can I get smooth of this picture?

This is my code. ...
minhthien_2016's user avatar
4 votes
2 answers
231 views

Extrusion of a parametric surface with different face and boundary colours

Problem statement I want to extrude a parametric surface and colour its front faces, back faces and boundaries differently. Define plot options ...
eldo's user avatar
  • 75.1k
4 votes
1 answer
232 views

Viewing a 3D object from inside

I have a list of coordinates in 3D all of which lie on the surface of a unit sphere (for all intents and purpose these are just random points on the sphere). I want to view them as from the centre of ...
Peter King's user avatar
3 votes
1 answer
55 views

When I arrange two 3d-plots using Grid, position of axes-y changes

I want to arrange two 3d-plots, for example Plot3D[{x^2 + y^2, -x^2 - y^2}, {x, -2, 2}, {y, -2, 2}, ColorFunction -> "RustTones"] which gives where ...
so_sure's user avatar
  • 341
11 votes
3 answers
1k views

How to draw such a sphere with mesh

I want to recreate a ball with mesh like this, use different style for the front and back. I tried using MeshShading, but the mesh lines looked too thick, can I ...
matrix42's user avatar
  • 7,138
7 votes
2 answers
205 views

3D plotting of parametric curved surface

Imagine I want the 3D plot of a solid object that has height $H$ and a circular base of radius $R$. The radius of the horizontal cross-section of the object at height $z$ above the base reduces with $...
sam wolfe's user avatar
  • 4,863
4 votes
1 answer
419 views

How to draw circle passing through points in 3D?

Let SABC be a pyramid, the triangle ABC be a right triangle at B; The line ...
John Paul Peter's user avatar
5 votes
2 answers
177 views

SpherePoints problem

Cited from https://reference.wolfram.com/language/ref/SpherePoints.html?q=SpherePoints SpherePoints[n] gives the positions of n uniformly distributed points on the ...
azerbajdzan's user avatar
  • 18.9k
9 votes
1 answer
517 views

How can I use GLSL shaders within Mathematica?

The function SurfaceAppearance provides a number of preset shaders for use in Graphics and ...
flinty's user avatar
  • 25.5k
2 votes
1 answer
152 views

Spherical Shell Heatmap

I am following the script of an answer to this question to plot a heatmap over a sphere using the SmoothDensityHistogram[] function. The data is a text file of N rows by 3 columns, with each column ...
Zachary's user avatar
  • 33
3 votes
2 answers
97 views

Draw a regular tetrahedron in a cylinder

Let be given a cylinder and a regular tetrahedron ABCD so that AB lies on cylinder and AB ...
minhthien_2016's user avatar
1 vote
4 answers
259 views

What is a quick way to draw a regular pyramid?

In the regular pyramid P-ABCD, where PA = AB = 2, sketch its figure and calculate its volume. ...
csn899's user avatar
  • 4,315
1 vote
1 answer
36 views

How can I reduce calculate to draw graphic of the problem 2004 AMC 12A Problems/Problem 22

I am trying to draw 2004 AMC 12A Problems/Problem 22 Three mutually tangent spheres of radius $1$ rest on a horizontal plane. A sphere of radius $2$ rests on them. What is the distance from the plane ...
minhthien_2016's user avatar
3 votes
2 answers
134 views

How to modify PlotTheme->"Marketing"?

The code is lent from this and later modified as per need, as shown below: ...
user444's user avatar
  • 2,456
1 vote
2 answers
81 views

How can I get a simpler way to draw a solid?

Let two circles center $O_1$, radius $10$ and center $O_2$, radius $6$ so that $AB$ is a diameter of the circle center $O_2$. I am trying to draw solid when rotate the filled region around line $...
minhthien_2016's user avatar
6 votes
2 answers
1k views

How can I draw a barrel like this?

I see this picture about Barrel I tried ...
minhthien_2016's user avatar
9 votes
2 answers
498 views

Expand a 2d curve into a 3d path curve with a fixed axis of rotation?

Given a string of fonts, such as "ABC", give a space line, how to rotate around the line while expanding the string into several curves.
babyK's user avatar
  • 155
2 votes
2 answers
583 views

How to draw four spheres of equal radius that are tangent to each other pairwise, and additional central sphere that is tangent to all four spheres

How to draw four spheres of equal radius that are tangent to each other pairwise, and an additional central sphere that is tangent to all four spheres? ...
csn899's user avatar
  • 4,315
6 votes
3 answers
1k views

How to rotate a triangle to get this picture?

Based on this answer, I am trying to draw the picture b). I tried ...
minhthien_2016's user avatar
4 votes
1 answer
93 views

How can I get a 3D form when rotate the polygon $ABCD$ around the line $AB$

I have polygon $ABCD$ here $A(1,0)$, $B\left (\dfrac{1}{2},\dfrac{\sqrt{3}}{2}\right)$, $C\left (-\dfrac{1}{2},\dfrac{\sqrt{3}}{2}\right)$, $D(-1,0)$. How can I get a 3D form when rotate the polygon $...
Thuy Nguyen's user avatar
  • 1,097
0 votes
0 answers
44 views

How can I get correct dashed line of this Intersection?

This is my code ...
minhthien_2016's user avatar
20 votes
8 answers
2k views

What are ways to better show depth along a 3D curve?

What are effective techniques for making the depth of a 3D curve clear when it twists and turns, making its depth ambiguous from a static perspective? ...
Andrew Cheong's user avatar
3 votes
1 answer
61 views

Hard time obtaining stream lines for large aspect ratio StreamPlot

I have a solution from a 2D FEM simulation that I want to analyze in detail and StreamPlot would be a good visualization tool for that. I unfortunately fail to ...
Fred's user avatar
  • 33
2 votes
2 answers
131 views

Conic sections: intersection of a plane and a cone. How can I change the equation of the plane to get conic sections automatically?

I tried to draw intersection of a plane and a cone. Hyperbola ...
minhthien_2016's user avatar
1 vote
1 answer
70 views

How combine two DensityPlot3D in only one graph

I need to combine two DensityPlot3D in only one graph but the "Show" doesn't work for that. ...
Rubens Filho's user avatar
0 votes
1 answer
83 views

Plot a surface between three intersecting curves using 3D data sets

I would like to plot a surface between the intersecting points of three 3-dimensional curves. The curves are created using ListLinePlot3D, from the following lists: List1: ...
Ryan Lobjoit's user avatar
6 votes
2 answers
253 views

How can I make an animation when using RevolutionPlot3D?

Let ABCD be a square with AB=2. Rotate the filled ABD (see picture) about ...
minhthien_2016's user avatar
2 votes
2 answers
152 views

How can I determine coordinates of vertex of parabola as intersection of a plane and a cone?

I want to determine the point I as vertex of the parabola that is the intersection of the plane plane = InfinitePlane[{{0, myy, 0}, {0, myy, -1}, {1, myy, -3}}]; ...
minhthien_2016's user avatar
1 vote
1 answer
98 views

Bug in GeometricTransformation

Is this bug in newer versions of Mathematica still present? Cube is deformed with rotation angle being odd multiply of Pi/2. ...
azerbajdzan's user avatar
  • 18.9k
4 votes
4 answers
346 views

How to make a ParametricPlot3D curve rotate smoothly?

I'm trying to make the complicated ParametricPlot3D curve rotate along the z-axis smoothly. I tried Rotate on a simple 3D object first. ...
metroidman's user avatar
1 vote
2 answers
63 views

Is it possible to "save/convert" a 3D plot into a FBX or OBJ file to use in softwares like blender or maya?

Suppose you run a code to plot: ContourPlot3D[ x^3 + y^2 - z^2 == 0, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}] or ...
M.N.Raia's user avatar
  • 503
5 votes
1 answer
119 views

How to show outer equatorial circle on solid torus?

In the following graphic of a solid torus, how can I show in the plane z = 0 just the outer "equatorial circle", and not the smaller circle inside, without parameterizing that equatorial ...
murray's user avatar
  • 11.9k
4 votes
1 answer
136 views

Embedding plot of Minkowski

I am trying to obtain the embedding diagram of Minkowski space. I took the metric: $$ d s^{2} = - d t^{2} + d r^{2} + r^{2} \left( d \theta^{2} + \sin^{2} \theta d \phi^{2}\right) $$ for $t =$ cte and ...
Dayzk's user avatar
  • 147
1 vote
1 answer
45 views

Combining surfaces in 3D when using ClipPlanes

Background: I work in the upper half-space interpreted as the model of the hyperbolic space. I want to draw a number of hyperbolic polygons (for simplicity, triangles) having vertices on the boundary. ...
colt_browning's user avatar
8 votes
1 answer
120 views

Plotting two 3D lines causes FE crash

The code below causes the Front End to CRASH. I came across this problem in some code that is very complicated, so I narrowed down the problem to a very simple task, to plot a couple of lines. ...
Michael E2's user avatar
  • 237k
1 vote
1 answer
60 views

Plotting the logarithm of bin counts with Histogram3D [closed]

I am using Histogram3D to plot 2d data. Sometimes with Histogram I use double logarithmic axis to view e.g. power laws, using ...
apg's user avatar
  • 2,155
4 votes
2 answers
158 views

How to visualise truncated trapezohedra in Mathematica?

This wikipedia page has some interesting polyhedra: https://en.wikipedia.org/wiki/Truncated_trapezohedron. I have not been able to find them in the PolyhedronData list of mathematica or on Dmccooey. ...
P Teeuwen's user avatar
  • 357
8 votes
3 answers
370 views

How can I draw a random thickness curve?

As we know that add weight factors to Tube, we can get variety thickness tube. I want to know how to do the same thing directly in 2D graph instead of only a 3D ...
herbertfederer's user avatar
5 votes
3 answers
334 views

Creating a 3D Gradient Vector Field Plot in Mathematica

I am new to Mathematica and currently learning how to visualize mathematical functions and their gradients. I am trying to reproduce a specific image that illustrates the gradient of a two-variable ...
Azermatt's user avatar
7 votes
1 answer
499 views

Borromean rings [closed]

how can I plot the Borromean rings in Mathematica? I am interested in the configuration showcased in figure.
Yasha Gindikin's user avatar
6 votes
2 answers
330 views

Visualizing the reverse pyramid in a good way

I'm trying to draw, for a series of multivariables functions, both the surface plot and the level curves. I am using the following code: ...
Heidegger's user avatar
  • 321
8 votes
3 answers
534 views

How to remove artefacts in Plot3D?

Consider the following code Plot3D[ArcTan[x/y] + ArcTan[y/x], {x, -1, 1}, {y, -1, 1}] Is it possible to remove the "dragging" artefacts observed at the ...
sam wolfe's user avatar
  • 4,863
2 votes
1 answer
67 views

Plotting real spherical harmonics with SphericalPlot3D - odd functions overlap themselves, even functions ok [duplicate]

I want to reproduce plots of real spherical harmonics as shown on Wikipedia. I used: ...
lixpas's user avatar
  • 65
3 votes
1 answer
80 views

Trying to surround the area produced by intersecting surfaces with a boundary line

With MMA 12, I have a cone & sphere in 3D, that intersect. The area where they intersect I've managed to color (yellow), but I would like to surround that area with a more prominent line of a ...
fiz's user avatar
  • 734
1 vote
0 answers
44 views

Why did my animated Graphics3D stop functioning after Nvidia GPU driver update? Now I have to end Mathematica process in the task manager

The following code used to work fine until just after a recent Nvidia driver update. Running the code causes Mathematica to completely hang and I must end the Mathematica process in the task manager. ...
Jeff Hunsaker's user avatar
3 votes
0 answers
86 views

How can we dice a parametric surface? - Part II

A few days ago I asked: How can we dice a parametric surface? Now I have two follow-up questions concerning the elegant answer given by kglr. He handles the dicing with three short functions: ...
eldo's user avatar
  • 75.1k
2 votes
2 answers
149 views

Graph of a 3D discrete-time dynamical system

I have a set of difference equations defining a 3D dynamical system with specific parameter values. How can I create a 3D phase portrait to display its trajectories and identify potential attractors? $...
Zafar Boxonov's user avatar
15 votes
2 answers
573 views

How can we dice a parametric surface?

A few days ago I asked how to slice three-dimensional surfaces: How can we produce sliceforms? The three outstanding answers make me believe that dicing parametric surfaces should also be possible. ...
eldo's user avatar
  • 75.1k
21 votes
4 answers
1k views

How can we produce sliceforms?

Sliceforms are models made from intersecting sets of planes which slot together to generate intersecting three-dimensional surfaces. Here are some of them made by Nadja Vohradsky for the university of ...
eldo's user avatar
  • 75.1k

1
2 3 4 5
45