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

learn more… | top users | synonyms (1)

39
votes
1answer
1k views

How to construct a treemap using non-rectangles?

I've written the standard version of a tree map (a graphic that shows nested data) and I'm looking to improve on this layout by switching to different types of polygons or perhaps circles. Can anyone ...
3
votes
2answers
134 views

How can I get Inset to use ImageScaled, but preserve aspect ratio?

This code produces two identical images, despite the difference in the rectangles: ...
2
votes
2answers
732 views

Using ChemicalData to make molecule graphics

I would like to take the acetone $((CH_3)_2CO)$ and chloroform $(HCl_3)$ molecules that Mathematica's chemical data provides, and plot them together. I want to show how chloroform can hydrogen bond ...
14
votes
6answers
522 views

How can I suppress rotation of 3D graphics?

Given a 3D image built of a combination several Graphics3D objects, is it possible to suppress rotation of the displayed image by the mouse? To be specific, here ...
11
votes
4answers
702 views

Is there a way to increase the smoothness of a cylinder?

I am using Cylinder to produce wide flat disks (in Mathematica 8). This works just fine except that the circular base of such a cylinder turns out to be really just ...
1
vote
1answer
92 views

plotting 3d points: z-axis is squashed

I am plotting 3D points and it occurs to me that Mathematica doesn't have an easy way to specify my points to be plotted in a uniformly scaled cartesian space. For example I plotted ...
15
votes
5answers
3k views

How to draw an ellipse arc in 3D?

There is no Circle or Disk object in 3D. I quickly found a way to use Cylinder (thin lines, no faces, very flat): ...
20
votes
2answers
623 views

How to get shadows in Graphics3D?

It was a shock to me when I found that in Graphics3D a surface is always transparent to the light sources: ...
0
votes
1answer
39 views

using 'steps' in Manipulate

I want to make a 3D shape move through a specified graph; e.g. y = Sin[x], such that it moves up and down. My working so far has ...
17
votes
3answers
2k views

How to calculate volume of convex hull and volume of a 3D object

I have a set of random 3D data points. How can I calculate the volume of the convex hull?
1
vote
1answer
174 views

How to represent the lines that are formed by the intersection of two planes?

I am trying to set up Brillouin zone and representing the lines that are formed by the intersection of two planes is part of my step. I have tried the sample sections from the graphics guide book, but ...
0
votes
2answers
148 views

How to control the layering of graphics displayed with Show

I am trying to combine two graphics objects using Show. The first one is an isosurface: ...
10
votes
1answer
335 views

Poor performance from Graphics3D

I wrote a game -- 2048,Some codes are from http://blog.wolfram.com/. My codes are in notebook downloads I added code so that the game can play in 3D form, but when I play it, I find that it is too ...
4
votes
3answers
859 views

Smooth 4D (3D + color) plot from discrete points

I have a file containing isosurface $\{x,y,z,F\}$ data (around 9000 points). My goal is to generate a smooth (NOT a discrete set of points!) colored surface using ...
1
vote
2answers
325 views

3D Plotting with PieceWise function

Im trying to plot the following function: $f(x,y)$ = $\left\{\begin{matrix} (x+y) & (x,y) \in T \\ (x+y)^2 & (x,y) \notin T \end{matrix}\right.$ where $T= \{ y\leq -x+1, x\geq 0, y\geq ...
6
votes
3answers
550 views

Drawing a cuboid with rounded corners

I want to draw a cuboid with rounded corners,like this: RoundingRadius only works with Rectangle or Framed.I have no idea how ...
0
votes
0answers
107 views

Plot exported in EMF format does not scale well in MS Word

I have been using Mathematica for a short time now and never had a reason to learn about exporting vector graphics. However, I need to include some graphics in some work I'm doing in Word 2010. I save ...
7
votes
3answers
403 views

Speed up ContourPlot3D

I have two issues with the following code. (1) It executes too slowly. If I use "Speed" instead of "Quality" for PerformanceGoal, I get the speed but an undesirable delay in proper rendering of the ...
10
votes
3answers
426 views

Showing the empty space in a Graphics3D plot

I would like to be able to visualize the empty space in a Graphics3D plot. For example, if I plot hexagonally close packed spheres using something like: ...
22
votes
1answer
3k views

Autorotating 3D plots

These days, I have to produce quite a few 3D surface plots (mostly functions of the type $\rho(\theta,\phi)$ plotted with SphericalPlot3D). To exchange these ...
2
votes
2answers
329 views

Plotting a Spericon and Bipyramid with 100 faces

I would like to plot convex polyhedron with 100 faces, which could be used as a die. My first attempt was asking for Conway's Hecatohedron. Unfortunatly, it can not be used as a die. Now there are ...
0
votes
1answer
83 views

How do I show cross sections of a basic shape using calculus? [closed]

Assume I have an object whose radius is modeled by the function $x^2$. Using calculus and circular cross-sections, the object's volume is given by $\pi\int_a^b(x^2)^2dx$. But given an arbitrary ...
0
votes
0answers
78 views

Viewpoint options for a 3D plot [duplicate]

Let's say I created a 3D plot in Mathematica. It's not oriented the way I want it, so I manually rotate it (in the output cell) to a desired view. (I tried playing with some view options in the code, ...
2
votes
1answer
145 views

Cropping a non-cubic lattice unit cell

I would like to crop the hexagonal close-packed system as a hexagon and not as a cube. I would like to use the following volumetricPlot already given on this ...
2
votes
1answer
133 views

Convert Tube[BSplineCurve[…]] Graphics3D object to polygons [duplicate]

I wish to voxelize a complex shape composed of Tube[BSplineCurve[...]] objects, while maintaining the additional information of the (unvoxelated) surface normal ...
0
votes
1answer
93 views

How to draw the axis with ContourPlot3D

I see ContourPlot3D doesn't show the X, Y, Z axis by default (i mean inside the graph), i tried adding ",Axis->True" to the call, but doesn't make effect. How to do this?
1
vote
1answer
156 views

Specifying view angle of a 3D plot [duplicate]

I would like to create a stereogram from a 3d plot; I would like to export two images of a 3d plot at a slightly different angle, so that when each picture is presented to a different eye, one gets ...
2
votes
1answer
105 views

Randomly generated polymer with certain spatial density

For simplicity's sake, let the polymer's composing particle be integer 3-tuples (on 3D Cartesian grid), such that: Polymer-ness -- for all particle there is an directly adjacent neighbor. i.e in ...
3
votes
2answers
599 views

Add coordinate axes to a 3D plot of concentric spheres

I want to add coordinate axis to a figure of nested spheres. I have the command. ...
1
vote
2answers
366 views

Projection of curve 3D (x,y,z) on the x-y plane

I have a following systeme : \begin{equation} \left\{ \begin{array}{rcr} (\beta+\frac{1}{2}\delta^{2})\nu_{1}(u)-\delta\nu_{2}(u)+\nu_{3}(u)& = &0\\ ...
7
votes
1answer
616 views

How to map rotate, pan, zoom to manipulate controls

I am wondering if there is a way to restrict the motion of the rotate mouse cursor in when moving around a 3d plot. For example, I want the y direction of the cursor to correspond to pulling the z ...
0
votes
1answer
131 views

Plot a solid generated by a family of surfaces

I'm trying to graph a series of planes as a solid object in Mathematica. I first tried to use the Plot3D options as well as the fill options to plot a $3D$ volume, ...
5
votes
0answers
107 views

How can I make sure that 3D plots have the exact same orientation and viewpoint?

First off, I apologize that I can't come up with a simpler working example, but I only seem to have this problem with the larger examples. I am trying to make animations, using functions like the ...
3
votes
0answers
85 views

Make further objects blurry?

I have the following function: ...
12
votes
2answers
873 views

Which ray-tracing software is compatible with Graphics3D?

I am interested in working alternative to Mathematica's FrontEnd for rendering Graphics3D produced by Mathematica. The requrements are: An ability to import ...
10
votes
4answers
447 views

How to create Line Chart with real third coordinates?

I would like to generate something like 3D Line Chart in Excel. Like the following figure but including third coordinates. Example I have a set of 2D data combied with 1D spatial data. ...
2
votes
1answer
207 views

Perspective transformation of a 2d streamplot

I have a two-dimensional streamline plot from a fluid dynamics simulation. I am wondering: is it possible to somehow allow Mathematica to treat the streamline plot as a plane in three-dimensional ...
6
votes
0answers
242 views

Performance tuning - Explicitly set Mathematica use Nvidia GPU for rendering

I feel hesitated to ask this question, but I cannot figure out a way to increase the performance. The problem is about running this featured example on a computer with both Intel HD GPU and Nvidia ...
4
votes
1answer
91 views

Does the VerticalCallout algorithm in PieChart3D work correctly?

In real world usage you often want to use real world labels with long strings (say 15-20 characters) in 3D pie charts. Here is a toy example : ...
7
votes
1answer
132 views

Explain the difference between ViewPoint and ViewVector?

I've read the documentation, but am still very unclear as to what the difference is between ViewVector and ViewPoint for ...
5
votes
1answer
162 views

Why does Arrow not work well with Scaled coordinates in 3D?

I am a little puzzled by the fact that if I try to use Arrow with Scaled coordinates in 3 dimensions the arrowheads are all over ...
6
votes
1answer
176 views

How can I get this Graphics3D to rotate around a particular sphere?

I made this Graphics3D of the Sun with the plotted orbits of a few astronomical objects. ...
1
vote
1answer
116 views

How to specify the centre or PlotRange of a Graphics3D?

When I create a Graphics3D, I often want to place an object right at the centre of the box. Initially I thought that the centre was specified by ...
2
votes
1answer
163 views

What are these strange shapes in my Plot3D[]? [closed]

Plotting a function, I noticed some strange spots away from the main feature, the dark purple here: You can see that they don't actually have any curvature themselves: Strangely, you don't see ...
45
votes
4answers
5k views

How to make a 3D globe?

There are many ways to create a 3D Earth that is rotatable (see here, here, related here), but most of them have some drawbacks. These issues mainly stem from either ...
2
votes
0answers
110 views

Displaying primes as a 3D array of spheres

I am currently learning my way through Mathematica and have stumbled upon a strange problem. It is asking me to implement PrimeQ into ...
0
votes
0answers
86 views

Numerically Solving Compatible Systems of Overdetermined PDE

Is there an easy way to get Mathematica to numerically solve a compatible system of overdetermined PDE, and plot the solutions? For example, consider the "toy" example $\dfrac{\partial u}{\partial ...
0
votes
1answer
158 views

How do I keep my Animate running at high resolution?

I'm building an Animate where I have a 3D plot with some of its parameters changing: ...
0
votes
0answers
32 views

Generate polyhedron from coordinates [duplicate]

This seems to me as an exceedingly simple question which I to my frustration can't seem to get a hold on: Given a set of coordinates, how do I make mathematica create a polyhedron from them? In my ...