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

learn more… | top users | synonyms (1)

2
votes
2answers
121 views

BarChart3D does not print zeros and odd tick positions

Note: This is a version 9.0.0 problem that is fixed in 9.0.1. I want to generate a simple 3D view of some frequencies for two variables. I have the counts in a 4x3 matrix, say. This is my bar chart ...
1
vote
2answers
335 views

Plot3D region bounded by equations?

I have four equations, $$ z = xy \\ z=0 \\ y=x^2 \\ x=y^2$$ I would like to integrate the region bounded by them. Before this, I would like to plot the region they bound, but I cannot seem to find ...
4
votes
1answer
133 views

Animation of tube with fixed height

the problem is following: my task is to make an animation: tube changes its radius but doesn't change its height. With command ...
0
votes
0answers
48 views

Manipulate: After Changing view of a Graphic, the sliders can't be used anymore

I have a new problem: I have exported my program as a cdf standalone. I changed the view of the graphic and now the sliders cant be used anymore. Very strange... Here is a screenshot: The orange ...
8
votes
2answers
513 views

OpenSCAD like functionality with Mathematica?

I keep seeing reference to use of Mathematica as a CAD tool (for instance: http://www.makerbot.com/support/guides/design/). I'd like to use it as such if feasible, but I'm having trouble locating ...
2
votes
1answer
129 views

Extract the generating curves from a Graphics3d returned from RevolutionPlot3D

I have a plot g = RevolutionPlot3D[{Sin[t], t}, {t, 0, π}, {θ, -π, π + 3 π/4}]; Is it possible to extract the generatrices (generating curves) from ...
1
vote
1answer
162 views

Combining Newtonian 3D N-Body Simulation Output and Earth Sphere

I'm trying to figure out how to make a simulation whereby two satellites orbit Earth, but have run into a little bit of a snag. I have a solution to the system of ODEs for the n-body output, and I ...
2
votes
1answer
234 views

ListPointPlot3D with connected points?

With the command ListPlot[data,Joined -> True] I can visually connect adjacent data points in the array with lines. However, this option appears to be missing ...
0
votes
0answers
58 views

How to stop a ParametricPlot3D from autorotating [duplicate]

The 3d graphic functions like ParametricPlot3D and ContourPlot3D always give me a rotating plot. Sometimes, I even can't stop it ...
1
vote
2answers
90 views

Use a custom3D graphic for points in ListPointPlot3D

I would like to make a plot where the points of ListPointPlot3D are themselves a Graphics3D object created using SphericalPlot3D, and each one depends on the position of the point. So basically, you ...
2
votes
1answer
142 views

How to create a parallelepiped tiling?

I know how to create parallelepiped and combine them to form a parallelepiped tiling, but the tiles overlap... I started with this code: ...
1
vote
1answer
179 views

Finding intersection of 3D lines

I want to find the intersection of 3D line. I want to detect the 3D light source position by intersecting 3D lines. ...
15
votes
3answers
611 views

How to get the real PlotRange using AbsoluteOptions?

The problem in general involves the unreliable behaviour of AbsoluteOptions when option values are implicitly specified (e.g. ...
3
votes
2answers
160 views

Draw only part of axis in graph

I'm looking to draw only one half of an axis in ContourPlot3D, mainly because I don't wan't the axis lines to be where the interesting stuff happens (intersection ...
5
votes
4answers
789 views

How can I fill a curve in ParametricPlot3D?

I'd like to fill a curve in a ParametricPlot3D in the same way as I might with ListPointPlot3D; i.e., ...
0
votes
0answers
39 views

How to get shadow of a 3d object [duplicate]

Suppose that we have a box or a sphere or an other 3D object and a ponctual light source. How we can generate the cast shadow using mathematic? Is there any tools to render a shadow given the light ...
27
votes
3answers
1k 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 ...
31
votes
6answers
1k views

How to plot contours in the faces of a cube

I'm trying to plot contours of a function f[x,y,z] on the faces of a cube as the example below, which represents the domain of this function. Is there a way to do ...
6
votes
3answers
359 views

How to make a 3D plot auto-rotate?

When doing presentation with Mathematica, I often want a 3D plot to rotate automatically, so the 3D feeling is stronger. I don't want to drag the mouse very time. So, I want a general function like ...
8
votes
1answer
231 views

Add lines to 3D Plot

How can I add lines that demarcate the different regions of the following 3D plot: Plot3D[1/(1 + E^(-a - c)), {a, -8, 8}, {c, -8, 8}] To give you an idea of what ...
0
votes
0answers
60 views

Define new 3D graphics primitives in Mathematica 9 [duplicate]

I have generated a three-dimensional probability distribution function (PDF) and I would like to place a series of these PDFs at certain coordinates on a cuboid. I've rasterized the PDF so it is a 3D ...
0
votes
0answers
41 views

Mathematica how to plot objects with labels in 3D plot [duplicate]

The following code plots 3 cuboids, each with a label at the lower left vertex. The label is meant to be part of the cuboid object. Yet, since Text[] is used to ...
0
votes
0answers
97 views

Why cannot import 3ds file into 3dsmax

The obj file can be imported into max rightly, but when I import the .3ds file into max I get some camera objects. Some 3ds files can be imported into max. What's wrong with the file? Is it ...
2
votes
1answer
288 views

ContourPlot3D for a 3D vector contour plot

The procedure ContourPlot3D allows plotting the contour lines of the components of a 3D-vector. The problem is I don't know how to give the contour planes of each ...
1
vote
1answer
96 views

Shading using VertexNormal changed when combining graphics3D andy ListContourPlot3D with Show

I want to combine some ListContourPlot3D and Graphics3D to present, on one 3D plot, the projection of the contour plots on each ...
5
votes
1answer
190 views

Integration of Two Manipulatable Cylinders

Introduction I created the following code to simulate the many possible interactions between a cylindrical protein crystal and a x-ray beam during serial femtosecond crystallography. ...
7
votes
2answers
258 views

Draw an arbitrary convex polyhedron without excess diagonals drawn

I want to draw a set of convex polyhedrons whose vertices are defined by spherical coordinates on the surface of a unit sphere. Currently I followed the advice from here: ...
0
votes
1answer
101 views

Rotating a set of 3D points against an arbitrary axis

I want to rotate a list of 3D points around unit vector (1,0,1) by the angle of Pi. How can I accomplish it?
3
votes
1answer
205 views

How to speed up Manipulate with Graphics3D

How do I speed up the Manipulate of the Graphics3D objects here? It is currently painfully slow, and I'm at a loss. I have reviewed many other posts and implemented what I could based on them, but it ...
0
votes
2answers
98 views

Drawing a large set of Graphics3D cylinders provided a set of cylinder specifications in a list

I'd like to draw a large number of 3D cylinders using Graphics3D. My list specifying the cylinders has elements that look like the following: ...
1
vote
2answers
148 views

Opacity and overlapping points on ListPlot3D

I am plotting a dataset on ListPointPlot3D, and in order to give an idea of density of points I used opacity of 0.5. The problem is that that while the opacity of points behind one another is added, ...
0
votes
2answers
110 views

Outputting a film (in .avi, .mp4, etc. formats) where frames correspond to Graphics3D outputs

I'd like to make a exportable film (in some format like .avi or .mp4, something playable on most computers) where each frame is a Graphics3D output. For example, we might generate frames in the ...
2
votes
1answer
131 views

How to color the surface of the Box of 3D graphics

Is there any possibility to color the surface of the Box of a Graphic3D[]? ...
1
vote
1answer
221 views

Finding 111 plane of Carbon Diamond

All, I looked at the example on the Mathematica Website with the Carbon Diamond Lattice. Example I am referring to I am wondering is there a way to highlight an individual plane such as the 111 or ...
0
votes
1answer
77 views

Combining an imported PDB file with a set of Graphics3D objects

Imagine we import a PDB file like so (using the example from ref/format/PDB in the help directory): ...
1
vote
2answers
168 views

How can I increase the number of polygons / resolution for this plot?

I have generated the following plot: Code: RegionPlot3D[ x^2 + z^2 < 1 && x^2 + y^2 < 1, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}, Axes -> False] ...
11
votes
2answers
191 views

Boundary effect of Graphics3D object Tube[]

I draw a Graphics3D object of two tubes: Graphics3D[{Tube[{{-0.2, -1, 0}, {-0.2, 1, 0}}, 0.05], Tube[{{0, 0, -1}, {0, 0, 1}}, 0.05]}, Boxed -> False] And ...
5
votes
2answers
528 views

How to render a 3D ellipsoid with Graphics3D?

With Graphics3D[Sphere[{0,0,0},1]] I can render a uniform 3D sphere, but how can I render an ellipsoid? I would need to specify the rotation of the ellipsoid and ...
0
votes
1answer
210 views

plotting xy, yz, zx plane at

I have a data list in the following form, data = {x, y, z, f} I would like to present three kinds of subdata set as a density (or contour) plot on the ...
0
votes
0answers
71 views

how to plot 3d graph with its projection on the plane? [duplicate]

I know that using matlab we can plot above kinds of graphics, looking very nice and informative. For so long time, I have been wondering how to plot those kinds of figures in mathematica. I was ...
1
vote
1answer
128 views

Plot3D missing a zone

I am trying to plot a simple graph using Plot3D: ...
3
votes
1answer
105 views

Adding and summing overlapping Airy (or Gaussian) disks on a plane

In a previous question of mine, I asked how one might draw an Airy disk on a plane: Generating an Airy disk on a plane, and recieved some impressive answers from the users Timothy Wofford and ...
3
votes
2answers
232 views

fit a curve in a three dimensional space

I have a list of points of a curve in a three dimensional space, like ...
2
votes
2answers
412 views

How to draw a coordinate system diagram?

I want to make drawings like these in Mathematica: I don't know if Mathematica is a gppd solution for drawing such images. If it is, please tell me how to do it; if not, please suggest another ...
3
votes
2answers
421 views

Generating an Airy disk on a plane

I wish to generate a surface intensity plot of an Airy disk (or perhaps a two-dimensional Gaussian approximation to an Airy disk) on an (x, y)-plane at a specified coordinate. The hope is to have ...
3
votes
3answers
124 views

A one-liner to place some number of Graphics3D polytopes on a plane and to randomly assign colorations

I'm looking for a nice one- or two-liner to randomly place some number, $N$, of Graphics3D polytopes on a plane with dimensions $X \times Y$, and to specify that $k ...
10
votes
1answer
396 views

How do I place a texture on an irregular 3D model?

I'm trying to reproduce a textured head in Mathematica, and I'm using a kind of 'net' of a head which contains all the features on the face. The texture looks like this: which is supposed to look ...
4
votes
2answers
332 views

10bits per rgb / 1024 shades of gray?

Can we display 10 bits per rgb in Mathematica? I'm using a quadro card and 30 bit monitor and can get a smooth gradient using Psychtoolbox in matlab. The following Mathematica should produce a bar ...
0
votes
1answer
246 views

How can I combine several 2D-plots to one big 3D plot?

So I've been able to make a list given by list = Table[{xValues, f[xValues, t (*fixed*)]}, {xValues, xmin, xmax}] For example: ...