A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [graphics3d]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
49 views

Fill the gap when plotting surfaces

I would like to plot the intersection between the surface $z=-\frac{y}{2}+1$ and the surface $z=\sqrt{1-x^{2}}$. This is what I tried: ...
11
votes
2answers
169 views

Adding positional guides to multiple points in 3D plots?

I have a graph showing multiple points in 3D space and need to accurately be able to represent their position. I'm looking to add dropping points underneath similar to this example graphic: I could ...
5
votes
0answers
82 views

Make 3D graphics “look” 2D

I'm working with some basic 3D graphics stuff: ...
1
vote
1answer
73 views

Modelling a Crankshaft

In the linked documentation, a crankshaft is imported as a GraphicsComplex, which can then be turned into a Finite Element Mesh for the purposes of Finite Element Analysis. I wondered if anyone knew ...
4
votes
1answer
62 views

RevolutionPlot3D: get graphics primitives

From this answer, I was able to figure out how to get the graphics primitive from a Plot3D. However, this does not seem to work for a ...
0
votes
1answer
37 views

Can I convert my SMTShowMesh Object into a mathematica graphics object in AceFem?

My question is related to a string of questions Ive asked in the last few days. I'm trying to superimpose a vectorplot on a3D plot that I've produced on AceFem using the SMTShowMesh Command. I'm ...
5
votes
1answer
96 views

Intersection between shape and line

I have a shape with some lines. Both are graphics in Mathematica. ...
0
votes
2answers
53 views

Weird Arrowhead behaviour when playing with BoxRatios->1

Basically the arrowhead is dependent on the scaling, and I would like it so that it wasn't the case, for example when α is 1 Then the arrowhead is displayed as it ...
8
votes
1answer
349 views

How do you draw a path on a parametric sphere?

Given a parameterized sphere defined by: ...
4
votes
2answers
461 views

How do you plot random points in three dimensions?

I've got a function that maps a 2D plane onto a sphere (I'm trying to learn about Geodesics). ...
4
votes
1answer
473 views

Merging two 2D wave animations into one 3D animation?

I have an electric field, Elec[d_, w_, q_, r_, t_] = -((q accel)/(4 \[Pi] Subscript[\[Epsilon], 0] r c^2)) Subscript[\[Epsilon], 0] := 8.85*10^-12 c := 3*10^8 ...
1
vote
0answers
51 views

Having issues trying to animate an electric and magnetic field of a moving point charge [duplicate]

I'm currently trying to plot an electric and magnetic field using Mathematica, but I'm quite new to the program and I've run into a wall. I start out with a moving point charge, and this is what I've ...
7
votes
2answers
1k views

How can I show that a sphere is rolling in a simulation?

I recently wrote code to simulate a table tennis ball rolling on the ground. v0 = 10; w0 = 8; R = 4; mu = 0.2; g = 9.8; δ = (2 (v0 + w0 R))/(5 mu g); This gives ...
7
votes
3answers
168 views

Finding points in a plane

The end of the Star Wars saga is near, so I feel compelled to design a Mouse Droid. Based upon the Paul Murphy's schematics I've reconstructed the outline of the top shell: Since my goal is to ...
1
vote
2answers
99 views

Plotting the electric field from a moving charge in 3D

I want to show a 3D electric field changing with time in response to the path of a moving charged particle. I have an animation of a particle traveling along a helical path using the parametrization ...
1
vote
0answers
60 views

How to draw sketches of objects using lines (curves) only

Update Thanks for your comments, now I see that it's not easy to have 3D graphics in vector form. This is fine though, because the major reason that I'd like to do it in mathematica is that I'd ...
3
votes
1answer
115 views

Trying to understand Electromagnetism using mathematica

I was wondering if there was a possible way to animate electric and magnetic field lines using Mathematica? I'm currently doing a physics major and taking an upper level electromagnetism course. I'm ...
0
votes
0answers
20 views

Export Graphics3D Object as .fbx file with animation

Suppose I have a Graphics3D object named objanim that is a function of some variable t. I can export this animation to a ...
1
vote
1answer
56 views

Add set of points on top of another graph and turn 3D plot to 2D

I have the following function f[x,y] and I figured out how to plot it to a specified domain, that you can observe in the code, but only in plot3D form I am trying to convert it to just a 2D graph. In ...
1
vote
1answer
113 views

Modeling a Partial Differential Equation

I'm in the midst of solving the given problem Given the setup I tried writing up the following: ...
1
vote
1answer
84 views

4D Region Plot with multiple inequalities

I am trying to draw a polytope with 4 variables. These 4 variables are probabilities so their lower bounds are all 0 and upper bounds are all 1. Here are the inequalities that define the polytope: $$...
2
votes
1answer
56 views

Space with custom, discrete axes

The 2D lattice might be something like this: \begin{array}{cccc} D&(E,D)&(F,D)&(G,D)\\ C&(E,C)&(F,C)&(G,C)\\ B&(E,B)&(F,B)&(G,B)\\ 0&E&F&G \end{array} ...
2
votes
1answer
42 views

Drop some of the Automatic ticks

Is there a way to drop some of the ticks automatically produced by Mathematica in a 3D plot? I would like to drop, say, the first one of the z-axis since it overlaps with the last one of the y-axis.
0
votes
0answers
58 views

How to export HyperbolicPolyhedron as STL?

Here's the starting point (It's the Mathematica "Spikey 2" logo): Graphics3D[HyperbolicPolyhedron["Dodecahedron", 1.3], Boxed -> False] Here is the link to ...
0
votes
0answers
24 views

How to manipulate SphericalPlot3D as Graphics object?

I'm kind of new to Mathematica so this may sound obvious for some people. I'd really thank for your help. I'm trying to plot a lattice. At each point there is an atom. The lattice is created as ...
0
votes
1answer
26 views

How to draw three different surfaces in a single plot where each surfaces are defined in different region?

Suppose I want to plot 3 surfaces, z=xy+y^2, x=4 & x+2y=4 together so that x=4 plane will be in the upper region of z=xy+y^2 surface and x+2y=4 plane will be in the lower region of z=xy+y^2 ...
2
votes
1answer
96 views

3D plot of a heat distribution in a cube

I have a .csv file with temperature values in the nodes of the cube. The cube size is 100х100х100 (.csv file contains 1.000.000 values), while $ 0 \leq x,y,z \leq 1 $. How can I plot a 3D heat map of ...
0
votes
0answers
35 views

Opacity issue in graphics3D

I'm trying to show a .obj model in Mathematica, with its bounding box and a couple of spheres representing the bounding box center and the model center. This is the imported model (tank was ...
1
vote
1answer
76 views

How to separate a 3D Plot with a gap

I am interested in the plot of the 3 hump function $f(x)= 2x^2 - 1.05x^4 +\frac{x^6}{6}+xy+y^2$ , for $x,y\in[-2,2]$. So in order to show the 3 humps of the respective plot I gave the following ...
3
votes
1answer
111 views

How do I plot a 3D surface on top of a 3D plane?

Consider, as an example, the Shannon entropy of probabilities defined over three possible outcomes: $$H(p_1,p_2,p_3)\equiv -p_1\log p_1-p_2\log p_2-p_3\log p_3.$$ I want to study the behaviour of $H$ ...
7
votes
2answers
267 views

How to draw a 3D point moving along a helical path?

I have an animation for a helix being drawn in 3D but I really want to have a point on there that draws the helix. I've seen similar problems on here for 2D and I tried adapting the suggestions but I ...
0
votes
0answers
75 views

wave 3d animation

How to animate a 3D wave propagation similar to that in the following video ? enter link description here
2
votes
1answer
117 views

Visualising and detecting stacked oblate particles

Context: I am trying to learn how to visualize a box filled with oblate-shaped particles. These are in contrast to prolates which can be drawn using for example ...
0
votes
0answers
34 views

Mapping a flat unit plane composed of polygons onto a cylinder

I'm looking to map a flat plane composed of triangles onto a cylinder, and then ultimately use a manipulate function to show the plane wrapping into a cylinder. Here is the code I have so far, I've ...
1
vote
1answer
50 views

Can I label a point in a Plot3D? and how

This question comes after I received some nice answers of yours, concerning the labeling of intersection points of two curves in the , see hereHow to label intersection point in Plot The answers I ...
6
votes
2answers
356 views

How does one splice together parts of two 3D density plots, without changing the original colors?

How does one splice together the t=0 to 59 part of the first plot with the t=59 to 60 part of the second plot, without changing the original colors of either plot? I have spent hours looking for an ...
2
votes
1answer
48 views

How to get rid of clipping artifacts?

The following is a MWE extracted from a more complex graphic. ...
5
votes
1answer
185 views

How do I plot a plane AND a graph in ONE 3D Plot?

I want to plot the Van der Waals-equations, specifically the part in which the Van der Waals loop is shown. First I tried plotting it with the Plot3D[] function, ...
0
votes
1answer
63 views

How to auto-rotate a MeshRegion?

I have a 3D MeshRegion region1 as below: ...
1
vote
1answer
58 views

Making cuts in a paraboloid of revolution modified [closed]

I need my to have like parabolic holes where the bumps or fins are ubicated, like in this image, so that they match with the same fins or bumps: The graphic I have was done with a paraboloid and the ...
0
votes
1answer
47 views

Plotting a disk with a z-value different to zero

I'm plotting a disk with ParametricPlot3d, but I need it to be drawn at z = 0.4, in order to join it with another plot. ...
1
vote
0answers
37 views

3D plotting: make some edges of the bounding box dashed [duplicate]

I am trying to produce a very simple 3D scatterplot with ListPointPlot3D[stratdatacleannew] with stratdatacleannew a list of ...
2
votes
1answer
59 views

ListPlot3D surface with logarithmic-scale

I'm tring to do a ListPlot3D however I don't get any answer from Mathematica. Furthermore, I'd like to introduce a log scale in the y-axis. Which function could ...
3
votes
1answer
89 views

Plot RectangularChart3D in Mathematica 12

I would like to have a 3d rectangle chart looks like the following: Later on, I will use different transparent color for each small 3d rectangle. It seems that the function RectangleChart3D can give ...
2
votes
0answers
165 views

Create a templated double gyroid with a hexagonal mesh and etched hexagonal mesh

I'm looking for a way to create patterns on the surface of 3D objects. One thing I have not been able to do is to create a hexagonal mesh on a templated double gyroid structure. What I would like to ...
5
votes
1answer
145 views

Canceling a color specification

I can get the default colors for one figure (Cuboid), and then color another figure (Sphere), as here: Graphics3D[ {Cuboid[], Red, Sphere[]} ] However, if I ...
3
votes
1answer
67 views

HalfLine to draw lines “to infinity”

I'd like to draw a simple figure illustrating geometric perspective (so-called "central-point perspective") in which perspective lines on two cubes are extended "to infinity," where they meet. Here ...
9
votes
1answer
209 views

Making a animation of multiple 3D objects rotating

I know that there is a similar question of taking an animation of 3D object, however since I'm not good at Mathematica nor English, I couldn't figure out how to make animation of multiple objects ...
1
vote
0answers
51 views

Deforming a unit square into a cylinder [duplicate]

I am new to Mathematica and I am trying to create a flat unit square in the x-z plane made out of polygons with vertices that divide it into equal-length intervals on each side. Then manipulate this ...
3
votes
0answers
34 views

Occlusion of faces and edges with ViewMatrix

The code below should produce a red cube behind a green cube, in turn behind a blue cube. I intend the matrices tmat and pmat to ...