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

learn more… | top users | synonyms (1)

2
votes
0answers
89 views

Arrowhead becomes unattached to line in a Graphics3D Manipulate

I'm trying to Manipulate a Graphics3D figure, and am seeing some errors. If I execute the following code, and move the slider, ...
11
votes
6answers
851 views

How do I draw a polygon defined by a list of data points?

I am attempting to make a 3D model of a device defined by a list of {x,y,z} points, digitized from a 2D image. The z coordinate is defined in mma. What I tried so far: ...
1
vote
0answers
69 views

Why are my 3D plots getting inverted? [closed]

For some reason, all 3D plots that I make in Mathematica 9 get inverted in both the image and the axes. For example, using the simple plot: ...
1
vote
2answers
119 views

Plot The volume of a cylinder between a cone and XY

I want to plot the volume of a cylinder between a cone and the plane XY The equation of the cone is $z$ $=$ $\sqrt{x^2 + y^2}$ and the cylinder equation $y^2 - 2y + x^2 = 0 $ I am using the ...
17
votes
3answers
484 views

Can Mathematica produce manipulatable 3D plots for deployment on the web?

I have a 3D plot I produced in Mathematica and I would like to share it with the world in a way that allows my audience to rotate it and interact with it in the broadest possible way. I would like ...
0
votes
1answer
97 views

SIGSEGV Error on Plotting Tubes

I have code to plot some "2 dimensional" points in 3D space, and connect a line between them (because ListLinePlot3D takes way to long/hangs), which works fine: ...
1
vote
0answers
158 views

Bad rendering of rotated text in 3D graphics in notebooks

Why is my rotated text so badly rendered in 3D graphics in notebooks (the exported pdf are OK). It happens for me with v9 or v10.1.0 and OSX (10.9.5). Notice that the rendering is good in 2D ...
6
votes
1answer
135 views

Graphics3D and Bit Depth of Rendering

A year or so ago, I sent this question to WRI (nb- a former employer of mine) and, as happens with bug-reports-that-arent-bug-reports, it was swallowed into the black hole that is Chambanna. So- I ...
3
votes
1answer
213 views

Put labels sloped along axes in ListPlot3D

The three text labels in the following figure are all in horizontal direction. How to put the labels sloped along each axis to which it is attached? My Code ...
7
votes
1answer
320 views

Eliminate an unexpected mesh line

What is the source of the vertical mesh (ring) in this figure and how does one eliminate it? ...
6
votes
3answers
190 views

Choosing which edges of the box to show in 3D graphics

Is there a way to explicitly choose which edges of the bounding box to show when plotting something with Boxed->True? For instance, a plot like ...
7
votes
0answers
103 views

Color Snapping When Using VertexColors with a Tube with BSplineCurve as an Argument

I think I've identified a bug in how VertexColors are treated when rendering a Tube object where the underlying data is a ...
2
votes
1answer
96 views

Combined ListPlot3D using arrays of different length

I have three parts of a ListPlot3D that I would like to combine. The problem is, the middle part has more points in one dimension than the other two, which means I can't combine them easily to plot ...
2
votes
2answers
383 views
10
votes
2answers
249 views

How to have one or multiple Boxed graphics, mixed with non Boxed, in the same Graphics3D

In the following example, I would like to Boxed only the RegionPlot3D, and not the Sphere. ...
2
votes
1answer
79 views

more than one label in Graphics3D

I'm trying to add some information to my Graphics3D Plot. At the moment I output the value of a function that changes when I use the sliders. I do that with PlotLabel. I need more data to be displayed ...
0
votes
1answer
103 views

Error Exporting STL --insufficient elements to export

I am trying to export the following code as an STL file: ...
3
votes
1answer
153 views

Controlling scaling of multiple vector fields in VectorPlot3D

I'm trying to plot the electric and magnetic fields of a relativistically moving electric charge using VectorPlot3D, and apply "Manipulate" to change the velocity. The code I'm using is as follows: <...
9
votes
1answer
120 views

How to synchronize the display of dynamic objects?

I was looking at this question, which asks to keep the orientation of some 3D graphics objects constant (relative to the viewer) while rotating the rest with the mouse. I thought that maybe the ...
4
votes
1answer
128 views

Constant orientation of graphics in Graphics3D

I have been facing a challenge for programming for quite a while now, and I think it is now time for me to consult some Mathematica experts: I would like to draw a three-dimensional graphic, e.g. ...
4
votes
3answers
406 views

How do I plot a filled cylinder in 3D?

All, I'm trying to plot a filled cylinder in 3D using Graphics3D and then take 2D slices of said cylinder. I know that Cylinder is officially 'filled', but the 2D ...
1
vote
1answer
194 views

Make continuous 3D tube out of 2D image (Mathematica 8) [duplicate]

I have the following image with transparency: which I want to paste repeatedly into a 3D space to make it like a tube, something like this (but denser): I tried using the code from here but it ...
4
votes
1answer
113 views

VertexNormals depends on Polygon's orientation - an expected behaviour?

I'm studying VertexNormals (on Mathematica 10.0.2 for Mac) and have set up the following to represent three points and a normal vector: ...
11
votes
7answers
5k views

How to draw a Circle in 3D on a sphere [duplicate]

The Circle function is strictly a 2D Graphics object, so that we cannot directly combine a ...
1
vote
1answer
341 views

Create hexagonal mesh on 3D Parametric Plot and 3D spheres?

I am looking to put a cool geometric mesh on this object. I came across this question that explained how to put a hexagonal mesh on a parametric equation but I have a series of geometric objects of ...
0
votes
1answer
57 views

Some problems about ListPlot3D, plot 6 faces of a 3D region [duplicate]

I get the data of six faces of a 3D region. ...
5
votes
1answer
181 views

Export from ParametricPlot3D to 3D Formats yields distorted surface meshes

as described im my blog post: http://wolfig-techblog.blogspot.de/2015/04/blender-as-shader-for-mathematica.html I tried to export a Klein bottle ParametricPlot3D to one commonly used 3D mesh formats ...
2
votes
2answers
274 views

random discrete data 3D plot

I get the random discrete data as follows ...
0
votes
1answer
90 views

Dashed 3D plot: dashes run together

When I use the Dashed option in my 3D parametric plot, the dashing looks very muddy and the dashes are running together. For example, I plot the below code, right ...
0
votes
0answers
106 views

How to remove Graphics3D artifacts and order graphics objects; best practice?

What is best practice (or different methods) to remove graphical artifacts in Graphics3D objects? Are there, for example, rules of thumb for ordering the arguments (...
40
votes
1answer
576 views

Random polyhedra walk

I would like to recreate ssch's random polyhedra random walk, which he posted in the chat. For convenience here it is again: This is my best attempt so far: You can download the notebook with ...
3
votes
1answer
183 views

White Lines in Contour Plot and 3D Plot

This is a follow up question to the original question here (has a solution). I am plotting another different total potentials and for this particular case the repulsive potential is a rectangle (open ...
7
votes
1answer
144 views

BoundaryMeshRegion::buncl error in V 10.1, that works ok in V 10.0.2

This code works ok in V 10.0.2 (from a post I was looking at here) I noticed what seems to be a regression bug. This code works in version 10.0.2 on windows 7 ...
20
votes
5answers
751 views

Plot a partition of the sphere given vertices of polygons

I saw in this question that Mathematica can draw spherical triangles. I guess something similar can be done to plot a spherical polygon. I am interested in something similar: I have a set of ...
0
votes
1answer
45 views

How to add pattern or write numbers on a cylinder? [duplicate]

I want to draw several cylinders in Mathematica. In order to distinguish them in a grey-style print, I should write a visible number on or add a different pattern (dotted, lines, stripes, etc.) to ...
1
vote
1answer
148 views

How do I smooth or remove jitter from an exported Graphics3D plot?

I have exported a Graphics3D plot as gif. But the plot shows jitter (You can see the yellow ball shows somewhat slight move around, which is expected to be still). How does this happen and how to get ...
0
votes
0answers
122 views

3D scatter plot with specific collor for each dot [duplicate]

I'm a chemist and using cartesian coordinates I've created a 3D scatter plot of my molecule: There is one attribute that I want to show and it is a value that range from -6 to 6, lets say. I'd like ...
0
votes
0answers
75 views

Are there any instruction(Mathematica-native) to draw an Arc in 3D? [duplicate]

I want to draw an arc in 3D. I viewed circles,ellipses and arcs in 2D with Circle[...] but when I want to draw and arc in 3D I can´t find any instruction for taht purpose. The question is: Are there ...
1
vote
1answer
113 views

Draw two curves and a surface

I'm trying to draw two curves and a surface, where one of the curves is to appear on the surface. Unfortunately the curves are drawn with very few points and appear extremely unclear. Is there a way ...
3
votes
2answers
285 views

how can I bold the outline of conic section as the plane intercepts the cone?

Plot3D[{-5 - x - y, -Sqrt[8 x^2 + 8 y^2]}, {x, -5, 5}, {y, -5, 5}, Mesh -> None, BoxRatios -> {1, 1, 1}, PlotLegends -> "Expressions"]
5
votes
2answers
215 views

Problem using Rotation in Show

I would like to have an animation of rotating box and displayed it with other elements (not rotated) using Show. The first step to do that is to have all the elements working properly. So I did the ...
12
votes
1answer
527 views

Hexagonal Mesh on a 3D surface

I am new to Mathematica, and I am trying to create a 3D hexagonal mesh on a 3D surface. It is very similar to what was done in this post Create a torus with a hexagonal mesh for 3D-printing, but now ...
0
votes
1answer
140 views

Stitch edge of disk to edge of square in 3D space (with deformations) [closed]

Topologically each point on the edge of a square can be mapped uniquelly (including the corners?) to a point on the edge of a circle. It seems it might be possible to deform in 3D space the square ...
2
votes
1answer
77 views

Dynamic ViewPoint on notebook startup

(This is a follow-up question to the accepted answer found here.) I want to synchronize two 3D plots in a notebook by setting their ViewVertical and ...
7
votes
4answers
1k views

Combining 2D slices into a 3D plot

I am currently trying to combine several 2D plots into one big 3D plot. The 2D-plots are simply input-results from calculations (so these things have 2D coördinates (x,y)). The results depend on an ...
2
votes
1answer
163 views

Change the colors of individual atoms in a .mol or XYZ file

Similar to (Changing the atom color for plotting xyz-files), I want to take a molecule and then simply change the colors of individual atoms. I don't want to change all atoms of a type to a color (say,...
3
votes
1answer
297 views

How can I make a pretzel shape using Bézier curves?

I am trying to make a pretzel shape,but I cannot seem to get the loops even. Eventually, I need to make the pretzel shape loop in 3D so I need to nail the 2D concept first. Here's what I have so far....
1
vote
1answer
79 views

How to rescale the axes on a 3D graph?

I currently have a graph in which the x and y axes take values on the order of 10^-4. Which looks messy, ...
2
votes
1answer
292 views

Issues with Arrow and Graphics3D [closed]

I'm trying to plot a simple picture: a plane with a circle in it, and three vectors in the curve. Mathematica keeps saying that the array "has the wrong dimensions for a graphics coordinate list" and ...
0
votes
1answer
172 views

How to plot 3D maximum and minimum surfaces? [closed]

I want to plot the maximum and minimum 3D surface for the following property: ...