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

learn more… | top users | synonyms (1)

27
votes
2answers
2k views

An efficient circular arc primitive for Graphics3D

As many people have noted, the 2D graphics primitive Circle doesn't work in a Graphics3D environment. Several solutions to this ...
7
votes
1answer
64 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 ...
3
votes
1answer
255 views

How to draw multi curves in a graph with errorbars

The curves are composed by several 2*n nested lists. I want these curves be placed in a 3d way, like the xy plane is for the data, different curves are located in several parallel xy planes with ...
0
votes
1answer
24 views
0
votes
0answers
19 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: ...
3
votes
1answer
75 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. ...
1
vote
1answer
75 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 ...
7
votes
3answers
589 views

How to make a smooth revolution surface plot

I'm trying to plot a 3d revolution plot from a set of 2d points. These data points form a 2d curve, then we rotate that curve around y axis and get a 3d surface. @J. M. has a well explained and very ...
3
votes
3answers
130 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 ...
3
votes
2answers
171 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"]
13
votes
2answers
1k views

How do I map a Mollweide projection onto a sphere?

I have this Mollweide projection of the Earth circa 600 million years ago (http://jan.ucc.nau.edu/~rcb7/370moll.jpg).(1) I want to map this onto a sphere. My results have big black splotches in ...
5
votes
7answers
643 views

How to draw a Circle in 3D on a sphere

The Circle function is strictly a 2D Graphics object, so that we cannot directly combine a ...
9
votes
2answers
654 views

How to create these famous surfaces in topology with the desired color effects?

It was said such real objects of famous topological surfaces were plotted by the cooperation between mathematician Richard Palais and artist Luc Benard, and published as the cover page of Science ...
0
votes
0answers
14 views

Consistent Graphics3D object size from different view points [duplicate]

Consider the following code that shows a rotating cube. ...
38
votes
3answers
2k views

Create a torus with a hexagonal mesh for 3D-printing

I am new to Mathematica, and 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 create a hexagonal mesh on a torus. What I would like to ...
21
votes
1answer
264 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: Since it's been one and a half year since then I've certainly had time ...
15
votes
5answers
423 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
135 views

How would I use sliders to manipulate the slope and intercept of a plane in a graphics 3d box while the cdf was running

Would I link a slider value to a polynomial that represents the plane and draw it in the draw plane a function, Or, is there a way that would allow me to have sliders in the draw plane function ...
3
votes
0answers
42 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: ...
5
votes
1answer
76 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 ...
0
votes
0answers
63 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
44 views
2
votes
2answers
151 views

random discrete data 3D plot

I get the random discrete data as follows ...
12
votes
3answers
1k views

Finding a Concave Hull

I have a 3d clustered data: Is there any other way to get concavehull of 3D data points?
6
votes
2answers
389 views

Don't understand why Mathematica is complaining about my Graph expression; how can I fix it?

The Tube in Arrow problem is fixed in version 10. Note that in version 10 Graph3D must be ...
0
votes
1answer
41 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
49 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 (...
3
votes
1answer
71 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 ...
6
votes
0answers
112 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 ...
13
votes
0answers
167 views

Bug(?) in version 10: Tooltip and ListPointPlot3D

Bug introduced in 10.0.0, persists through 10.1 The coordinates of a point in a three dimensional graph can be shown in a tooltip: ...
0
votes
0answers
36 views

How to show mulitple 3D graphics in one figure

I have this surface. I want to create another one which is rotated 60 degrees about a point at the left extreme and then want to see both these surfaces together in one figure? Any help appreciated! ...
7
votes
1answer
412 views

How to add texture to solid Graphics3D object such as cylinder?

I'd like to add texture to a Cylinder inside Graphics3D. I can't see how to use FaceForm and ...
0
votes
1answer
30 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 ...
0
votes
2answers
196 views

Mapping Contour Plot onto ListPlot3D (or by using color variations)

I am trying to overlay a contour plot I have created on a ListPlot3D graph. I have seen a few questions answered on this website that answer my basic question. However, the contour plot I need to ...
1
vote
1answer
89 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
37 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 ...
3
votes
1answer
112 views

Image3D with values outside of the range [0,1]

I am writing some functions in Mathematica for representing MRI anatomical image volumes. The natural way to represent such a volume seems to be as an Image3D form. However, I've noticed an ...
0
votes
0answers
66 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
63 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 ...
0
votes
0answers
79 views

Combining GPS 3D plot with 2D map

I have seen the post on combining a listline plot with a Graphics 3d plot. I cant seem to get it to work with the map I import as described below. Thanks I have a series of 3D GPS points (long ...
4
votes
2answers
93 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 ...
0
votes
1answer
106 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 ...
8
votes
1answer
253 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 ...
2
votes
1answer
34 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 ...
6
votes
4answers
502 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
59 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 ...
0
votes
0answers
71 views

How can I make a pretzel shape using bezier 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
47 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, ...
0
votes
0answers
33 views

Somebody imported .mdt files (3d graphics) in Mathematica?

Hello maybe someone did or import this format in math for subsequent presentation in 3D