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

learn more… | top users | synonyms (1)

3
votes
1answer
95 views

How do I plot a line delineating a subset of values on a 3D surface plot?

I have the following surface plot: ...
3
votes
2answers
219 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 ...
3
votes
1answer
129 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
1answer
182 views

How can I use Manipulate[] to click on a Graphics3D output and generate $(x,y)$ outputs on a projection plane parallel to my screen?

Say I have some Graphics3D object that I'm looking at from a top down perspective, e.g.: ...
3
votes
1answer
189 views

Depth from Graphics3D

Consider this simple 3D rendering with some geometric primitives: ...
3
votes
1answer
207 views

Add contour lines to Graphics3D

I am writing the following code: ...
3
votes
1answer
138 views

How can I improve my Zooming code?

I recently started to work with the EventHandler function to make it possible to Zoom, Pan, etc, with only the use of a mouse. I have found a way to zoom that is ...
3
votes
1answer
154 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 ...
3
votes
0answers
83 views

Make further objects blurry?

I have the following function: ...
3
votes
0answers
130 views

Using NVIDIA 3D Shutter Glasses with Mathematica

Mathematica has great capabilities to display 3D Graphics rendered to the 2D screen. This should make it perfectly suited to use the Graphics3D system together with an NVIDIA Graphics card, a 3D ...
3
votes
0answers
244 views

Weird behaviour from ListSurfacePlot3D

Looking at Documentation for ListSurfacePlot3D, I follow the basic example presented there. ...
3
votes
0answers
250 views

Use of RegionFunction with Graphics3D?

I'd like to plot in 3D a long list of polygons created with TetGenConvexHull, but only in regions specified by a function. Is that possible? As I have it my ...
3
votes
0answers
111 views

How can I truncate only a single vertex of a polygon?

One can truncate all the vertices of a polygon at once with Truncate. I want to do exactly that -- but only on a single vertex. Is this possible with Mathematica 9? ...
2
votes
2answers
714 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 ...
2
votes
3answers
499 views

How do you show a cone inside of a sphere?

I have a sphere of radius 5 and a cone (i.e. z=√(x^2+y^2)) inside of it. I can show them separately, but I'd like to show them together. I've tried a few tricks with opacity, implicit specifications, ...
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 ...
2
votes
2answers
299 views

How to draw Graphics3D items with straight border lines?

I want to make a Polygon with straight border lines. For that purpose I wrote the following code, but it doesn't show straight borders. ...
2
votes
2answers
556 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 ...
2
votes
2answers
341 views

How can I overlap image on Graphics3D at a specific position?

I make a Polygon with size of {width=0,length=50,height=30}; I want to overlap Image on ...
2
votes
2answers
134 views

Arrow pointing upwards in a Graphics3D

I am trying to write a code for an arrow that points upwards from the center of the circle in a Graphics3D. ...
2
votes
1answer
568 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 ...
2
votes
2answers
192 views

Modifying imported 3D file

Since I am visualizing my work using Mathematica, I import some 3D models of molecules to my notebook. So, the question is, is there any way to modify somehow that imported models inside Mathematica ...
2
votes
1answer
200 views

Find points on the surface of a Graphics3D object

If I have a Graphics3D object that was generated from manipulations to PolyhedronData rather than via an explicit equation, for example the Spikey (for which the entire code can be found here The ...
2
votes
2answers
208 views

MapThread to Spheres with various colours

I have these two lists ...
2
votes
1answer
302 views

How can I draw a curve through as set of xyz points?

I have a list of data and want to make a curve like the one below which I made in solidworks. The problem of this curve is, that I don't know how to put it in a box with coordinates. The best I ...
2
votes
3answers
243 views

Changing the Actions in EventHandler

I would like to be able to change which action specified events take depending on some condition. For example, I have established a SetterBar ...
2
votes
1answer
262 views

3D arrow tail properties

I would like to use VectorPlot3D to plot a vector field with 3D arrows: ...
2
votes
1answer
164 views

How to draw tiles with different height?

I have a random matrix RandomReal[{1, 2}, {20, 20}], whose elements represent the heights of an array of tiles. The cross sections of each tile are square and ...
2
votes
1answer
221 views

Plotting 3D Vector Field in one plane

I want to plot a vector field F={Fx, Fy, Fz}. However, I only want to plot it in one plane (say, z=0). When I use ...
2
votes
1answer
188 views

How to convert a sparsearray to a graph?

s = Import["hello.mat"]; t = GraphEmbedding[Graph[s[[1]]], "GridEmbedding"]; I get the following error: GraphEmbedding::graph: A graph object is expected ...
2
votes
2answers
126 views

Interacting with 3D Graphics, for export [closed]

Are there any export formats which preserve the ability to interact with 3D Graphics? (In particular, the ability to rotate.) EDIT: I've found this question: How to make a 3D plot auto-rotate? ...
2
votes
1answer
98 views

Graphic using manipulate runs too slow

Here is a naive coding of a projection of a point on a sphere. It runs very slow. Can it be changed to run faster without losing its essential analytic character? ...
2
votes
2answers
315 views

Drawing tubes with a While loop

I'm trying to make a plot with many objects in it using a While loop. Something like the following: ...
2
votes
1answer
139 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 ...
2
votes
1answer
255 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. ...
2
votes
2answers
191 views

Reducing quality of Graphics3D scene to improve performance?

ProteinData["SERPINA1", "MoleculePlot"] gives the detailed Graphics3D plot below. I'd like to make many small copies of this ...
2
votes
1answer
186 views

ParametricPlot3D[] Question

I know this is very similar to a previous question I asked, but there are some differences. When I graph: ...
2
votes
1answer
536 views

Distance between 3D curves

I would like to determine the distance bewteen two representations of the Lorenz Attractor. I have two 3D representations for different initial conditions and I want to calculate the distance between ...
2
votes
2answers
97 views

Using RegionPlot3D to make a cone under restrictions

I have to plot a cone that satisfies this statement: Use the RegionPlot3D command to draw a picture of a cone with its point at the origin. The other end of the cone is a circle with radius 5 ...
2
votes
1answer
105 views

Getting errors when I try to evaluate code taken from Trott's Mathematica Guidebook for Graphics

I would like to learn how to make high quality images in Mathematica. In my pursuit, I have come across Michael Trott's Mathematica Guidebook for Graphics. I have been trying some of the examples, ...
2
votes
1answer
63 views

Can I line the mesh lines on a `RegionPlot3D` up with integer values of the axes?

(Sorry if this is a duplicate, I searched briefly and didn't find anything.) I have region plots in 3D like: ...
2
votes
1answer
236 views

About Slicing through Graphics3D

Recently I have seen a code in mathematica about Slicing through Graphics3D in Slice through Graphics3D. My questions is: Is it possible to fill out these spheres? I have problem with generating ...
2
votes
1answer
142 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
200 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 ...
2
votes
2answers
148 views

Are there built-in functions for testing if a point lies within Graphics3D primitives?

I noticed in this question, Behavior of Graphics`Mesh`InPolygonQ with self-intersecting polygons, that Mathematica has some "psuedo-hidden" functionality for allowing one to quickly perform a winding ...
2
votes
2answers
483 views

Plotting rainbow circle [duplicate]

I am trying to plot a parametric circle in rainbow colors. It should go round once, but I'd like to be able to make it go round the rainbow an arbitrary amount of times. I currently have: ...
2
votes
2answers
328 views

Solving and plotting ODEs while varying one of the initial conditions

How can I vary an initial condition in the numerical solution of a system of ODEs and then make a 3D plot of the solution space with that condition as one of the variables. ...
2
votes
1answer
100 views

How to generate apart or non-intersecting spheres in cube? [duplicate]

I am trying to generate model of randomly distributed uniform spheres in the cube. For randomly distributed spheres I am using RandomReal option. But when I run the ...
2
votes
1answer
110 views

How to draw a 3D convex hull of a set of points with styling

I´m trying to obtain the convex hull (with transparent faces) of a small number of points. I would like the Plot to have the points shown with small spheres numbers 1, 2, 3, ... along the axes ...
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 ...