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

learn more… | top users | synonyms (1)

3
votes
1answer
204 views

Add contour lines to Graphics3D

I am writing the following code: ...
1
vote
0answers
60 views

Moving two Spheres in the Opposite Direction [closed]

We know that we can achieve to a box contained two spheres by the code: Graphics3D[Table[Sphere[{i, Mod[i^2, 10], Mod[i^3, 12]}], {i, 2}]] How can the left ...
2
votes
1answer
94 views

Coloring a set of polygons, each polygon to have a specific color

In addition to my previus post, regarding plotting the surface of a Möbius strip, I now realised, that some of the eigenmodes for a Möbius strip are either oscillations of a scalar field OR a vector ...
7
votes
1answer
303 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 ...
1
vote
1answer
131 views

Plotting a multivariable function [closed]

m[x_, y_] := 0.9*Exp[-((x - 1)^2 + (y - 1)^2)] + 0.5 Exp[-(3^2 ((x - 2.5)^2 + (y - 1.5)^2))] I'm trying to create a 3d plot for the function above. I tried ...
6
votes
1answer
191 views

Finding corresponding vertex from 3d to 2d

I have this simple 3d data points: ...
3
votes
1answer
96 views

How to color a BSplineSurface

I am trying to color a BSplineSurface in a complex way but not having any luck using ColorFunction. I can use ...
3
votes
2answers
131 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: ...
1
vote
1answer
87 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 ...
11
votes
4answers
698 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
150 views

Error message: Coordinate index 0 is out of range for the enclosing GraphicsComplex

I am unable understand following error message: Coordinate index 0 is out of range for the enclosing GraphicsComplex. How to fix it? Attached data here: pts and polygons. See also end of question. ...
0
votes
1answer
37 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 ...
2
votes
3answers
192 views

How to export 3D graphics to Collada (.dae) format?

I'm looking for a way to export 3D graphics objects to the Collada (.dae) format. I need an automated way, i.e. using Blender to manually convert from another ...
1
vote
1answer
165 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 ...
2
votes
1answer
452 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 ...
6
votes
2answers
472 views

How to get UV mapping of 3D tube

Here is cylinder data: file We can mesh the surface, thanks to lalmei, Belisarius and Simon (link) How to achieve uv mapping from a 3d straight and curved tube? Working code: ...
0
votes
2answers
146 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: ...
4
votes
3answers
727 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
290 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 ...
10
votes
1answer
332 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 ...
6
votes
3answers
535 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
97 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
389 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 ...
4
votes
1answer
357 views

Point style in ListPointPlot3D

In ListPointPlot3D, it seems the only point style available is the default, because there is no PlotMarkers option for this ...
7
votes
1answer
356 views

Graphics3D from Mathematica to SolidWorks (for 3D-printing)

I have an 3D Graphic generated with Mathematica's Graphics3D, and want to use it later in SolidWorks. SolidWorks files are usually *.stp, *.step, *.stl extentions. google search hasn't given me a ...
10
votes
3answers
418 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: ...
2
votes
2answers
328 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
81 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
70 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
139 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
128 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
85 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
146 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
104 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 ...
1
vote
2answers
347 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\\ ...
0
votes
1answer
128 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
102 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
83 views

Make further objects blurry?

I have the following function: ...
3
votes
2answers
560 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. ...
10
votes
4answers
405 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
199 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
224 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
88 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 : ...
5
votes
1answer
158 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 ...
5
votes
1answer
167 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
112 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 ...
7
votes
1answer
126 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 ...
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 ...
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 ...
2
votes
2answers
139 views

Getting messages Rest::norest and Divide::indet from ContourPlot3D

Note: The bug described in this post is found in Mathematica version 9 and seems to have been fixed in version 10. Ok I don't know if it's a bug or what, but here's what I found: If I use this ...