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

learn more… | top users | synonyms (1)

9
votes
7answers
3k 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
283 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
53 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
150 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
246 views

random discrete data 3D plot

I get the random discrete data as follows ...
0
votes
1answer
74 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
56 views
0
votes
0answers
94 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 (...
37
votes
1answer
485 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
151 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
0answers
121 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
653 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
42 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
135 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
92 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
72 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
98 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
245 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
162 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
422 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
130 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
52 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
996 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
137 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 ...
2
votes
1answer
180 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 ...
1
vote
1answer
67 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, ...
1
vote
1answer
210 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
136 views

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

I want to plot the maximum and minimum 3D surface for the following property: ...
7
votes
0answers
188 views

Mathematica and POV-Ray workflow: ListContourPlot3D

I have the following function describing a molecular electronic Orbital. ...
3
votes
3answers
414 views

Plot Plane to Intersect 3D Contour Plot in Mathematica

I have a 3D model of a heart in Mathematica and I'm trying to create a plane so that the open surface (as seen in the image below) is cut off so that the heart can have a solid, level surface. How ...
2
votes
4answers
421 views

How can I align Cuboids within a cube

I am trying to align (colored) Cuboids within a cube, but the automatically coordinate generation "Row-2.)" is currently buggy. Can somebody help me please (the variable bound should be the start and ...
8
votes
1answer
320 views

How to display MeshRegion without vertices

I'm writing a library for handling very large and complicated (boundary) mesh regions on the order of ~150,000 vertices, ~450,000 edges, and ~300,000 triangles. The regions themselves are the cortical ...
2
votes
2answers
89 views

3D graphics with colourbar

I have lists with 4 data e.g. {{0,0,0,-2000},{0,0,.5,-1800},{0,0,1,-1500},{0,.5,0,-2005},{0,.5,.5,-1795}, {0,.5,.1,-1508} ... {x,y,z,B}} How can I plot B ...
8
votes
2answers
375 views

How to make a cylinder with bottom that shows hidden part of edge as dashed curve [duplicate]

I am learning a bit about TikZ and found a nice feature in its graphics, that I am having hard time duplicating with Graphics3D. It is making a ...
0
votes
1answer
86 views

Having trouble displaying imported Excel regression data [closed]

The plot points and residual lines are not showing, hard-coded data works, and imported data does do something, just not what its supposed to Is the table or the plot range the wrong size? I can't ...
9
votes
4answers
1k views

Triangular mesh of random points on a sphere

My employer with a new logo (shown below). I do not have information on how this was created (as it was done by an outside company), though I'm fairly sure it was not done in any formal mathematical ...
8
votes
5answers
910 views

How I calculate the volume of multiple intersecting spheres?

I would like to know how to calculate the volume of the union of multiple possibly intersecting spheres (using Sphere[]). Please see the figure: I was trying to get a mesh/delaunayMesh out of the ...
0
votes
2answers
420 views

Plotting energy dispersion on a hexagonal Brillouin zone

I'm trying to plot the energy dispersion of a graphene similar material. I've used the Tight Binding Function Approximation considering first neighbours and no overlaping. I have this 2 expressions of ...
33
votes
3answers
1k views

Mathematica and POV-Ray workflow (Q&A)

A couple of years ago, Alexey Popkov asked this question: Which ray tracing software is compatible with Graphics3D? It is my opinion, for various reasons, that out of the many ray tracing programs ...
1
vote
0answers
70 views

Plotting the Schwarz D minimal surface

With the aid of the following paper I'm trying to plot the Schwarz D minimal surface: paper. So far I have followed all the instructions to the best of my abilities and have come up with the following ...
8
votes
2answers
443 views

Graphics3D: Objects with holes

In a recent project, I found out that there is a big limitation when using Graphics3D to construct objects - it lacks the ability to construct objects with holes in ...
5
votes
2answers
348 views

How do I show only the intrinsic color of 3D polygons?

System: Mathematica 9, Windows 7. I want to assign a polygon a color in such a way that it is rendered in that color irrespective of any ambient light sources. In other words I want Yellow to be ...
2
votes
1answer
193 views

How to make hollow Graphics3D?

I keep seeing a notebook to use of Mathematica as a 3D Printing tool (e.g.: this link). In the notebook on slide 8/11, we find these pictures: I'd like to design it as such that, but I don't ...
1
vote
1answer
121 views

Histogram 3D: use different bin width in two directions

I'm trying to plot an histogram of a set of data, I would like to use a bin of different width in x and y direction. I've tried using the following two codes: ...
1
vote
1answer
39 views

Graphics3D loses interactivity in Dialog window

Is there a way to keep Graphics3D objects manipulable when they are embedded in a Dialog window (CreateDialog,...
4
votes
1answer
177 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 ...
1
vote
1answer
85 views

Cannot shade 3D vector in different color

I need to color each vector into different colors... but this formula just doesn't work: ...
2
votes
0answers
181 views

Embed 3D objects from Mathematica, in a pdf

Acrobat Reader 9+ supports interactive manipulation of 3D objects. See this file for example - another widely used example are PRC objects which may be produced by Asymptote. Exporting animations ...
1
vote
2answers
151 views

Creating a right hand in graphics3d to illustrate the right hand rule

I would like to make a small right hand with fingers that curl to illustrate the right hand rule in graphics3d. Does anyone know if this is possible? For an example of what I'm looking to plot, see ...