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

learn more… | top users | synonyms (1)

0
votes
0answers
62 views

Slow and laggy animation of an electromagnetic wave

I made a manipulate code of an electromagnetic plane wave which works relatively well, but is very slow and laggy for what it does (showing just a bunch of rotating or oscillating arrows). What is ...
6
votes
0answers
90 views

3D orbits of moons around their respective planets

I have seen a lot of solar system models (both animated and not), but I am trying to replicate the same thing with moons. Either just one planet and its lunar system or the our whole solar system with ...
3
votes
2answers
123 views

How to add Thickness in ListContourPlot3D

How do you add a thickness to ListContourPlot3D. Extrusion works with ContourPlot3D, but ...
2
votes
0answers
67 views

How two print two 3D objects together

I am trying to 3D print a torus with a curve running around it. This is what I tried: ...
7
votes
1answer
135 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 ...
5
votes
0answers
51 views

Contour labels on SliceContourPlot3D?

SliceContourPlot3D doesn't seem to come with the option of putting contour labels on the plots as far as I can see. I'm using the ...
3
votes
4answers
195 views

ParametricPlot3D for only part of a sphere

I want to plot the region of a sphere that satisfies the equation $$ \tan\theta\geq-\frac{z}{x\cos\phi + y\sin\phi} $$ where $x$, $y$, $z$ are my parameters. The spherical coordinates $\theta$ and ...
17
votes
3answers
700 views

How to create a simple cross eyed 3d plot

I wanted to create a stereoscopic view of my threedimensional plots, so I can interpret them better. The basic things, one would need, are two plot windows which are somehow connected to each other ...
4
votes
1answer
148 views

Graphics3D/Plot3D rendering issue

I have an issue in Mathematica with the rendering of 3D graphics. Two sides (right and bottom) of some sort of bounding box are present, and, in the instance of ...
3
votes
1answer
55 views

How can I convert a 3D contour plot into a region for use as a custom slice in ListSliceDensityPlot3D?

The documentation for ListSliceDensityPlot3D says ListSliceDensityPlot3D[{{x1,y1,z1,f1},{x2,y2,z2,f2},…},surf] generates a ...
0
votes
0answers
59 views
15
votes
0answers
107 views

ListContourPlot and ListContourPlot3D use better interpolation for arrays of values than for lists of tuples (i.e. {{x,y,z,f[x,y,z]}..}

From reading the documentation, it seems that ListContourPlot3D should work equally well on an array versus a list of tuples, ?ListContourPlot3D ...
2
votes
0answers
56 views

How to plot points in 2D without restricting their apparent positions to pixel grid?

Compare the two renderings of the same point in the following code (this is just a reduced example, I know I could just zoom in the scene, it's not an option in original code): ...
3
votes
1answer
62 views
1
vote
1answer
39 views

3D Interaction when using CDFDeploy

In the following code, the 3D plot of the manipulation is interactive. ...
2
votes
1answer
62 views

plotting 3d and contour

How can i plot such a graph like this? I mean placing the 3d plot and the contour in the same figure
16
votes
2answers
1k views

How do I map a Mollweide projection onto a sphere?

I have this Mollweide projection of the Earth circa 600 million years ago (http://jan.ucc.nau.edu/~rcb7/370moll.jpg).(1) I want to map this onto a sphere. My results have big black splotches in ...
1
vote
0answers
89 views

Drawing outside of 3D plot area

I have some grid-lines I want to extend outside of the bounding box of 3D plot BarChart3D. I do want to keep the bounding box small, as I want the automatic axes on the bounding box edge remain next ...
2
votes
2answers
77 views

Special Coloring of two 3D Graphics with same values

As you can see in the picture below, I have plotted three different functions. Since two functions (red and blue) have the same value for a certain region (equity > 60), I was wondering how I can make ...
3
votes
1answer
558 views

How to draw a 3D polygon like this? [closed]

I tried to draw first picture with Raster3D, but the result is strange: So, what is best function to call to draw 3d polygon like that?
1
vote
1answer
63 views

Color of lines in ParametricPlot3D

I have a function of two variables which returns a vector of three components. For example func[l_,t_]:={ x=.... y=.... z=.... {x,y,z}} Now I ...
4
votes
1answer
74 views

Graphics3D opacity of lines

I would like to make the lines opaque for a plot of form similar to: ...
0
votes
0answers
82 views

Plot of 4-dimensional vector field

I want to study a certain type of 4-dimensional ordinary differential equation. How could I visualize it? One thing that could be helpful is to plot the vector field in one pair of variables, for a ...
3
votes
1answer
132 views

Move Graphics Object

I'm an artist trying out digital media. I'm very new to Mathematica, however, so excuse me if this a basic question (which I'm sure it is). I did look, though, for anything on this site related to my ...
1
vote
2answers
37 views

Two questions (Modifying Ticks and VectorGraphics)

Say x0[u_, v_, a_, b_, c_] := a* Cos[u]*Sin[v] y0[u_, v_, a_, b_, c_] := b* Sin[u]*Sin[v] z0[u_, v_, a_, b_, c_] := c*Cos[v] I take a parametric plot by ...
11
votes
2answers
923 views

Morphing a “sheet of paper” into a torus

How can I visualize the standard topological "rubber-sheet" construction of a torus, that is, morphing a square into a torus? How can I start or are there any examples in the Mathematica ...
14
votes
3answers
351 views

Histogram3D with various colors and textures on cuboids' faces

I'm trying to produce an Histogram3D-like graph, but with a little more customization. In particular I want to manually specify the color of each cuboid and to print some information on the top ...
0
votes
1answer
148 views

Join points or draw lines between them on a torus [duplicate]

First I would have liked to map points and texture from a square map (box) in agent-based modellers to a torus. ...
8
votes
1answer
144 views

Exporting Graphics3D is not complete

Bug fixed in 9.0.1 When I export the result defined as the variable pot1 to pdf, the lower contour plot isn't showing. How do I fix this? ...
11
votes
2answers
432 views

Is there a way to programmatically set global preferences?

Can I set global preferences that are accessible via "Edit"->"Preferences" programmatically from within a notebook? As learned from this question, turning off anti-aliasing can make a huge difference ...
9
votes
2answers
406 views

How to plot a distribution of planes

How can one plot in Mathematica a distribution of planes in $\mathbb R^3$? For some point $p=(x,y,t)\in\mathbb R^3$, I want to attach a plane spanned by $X(p)=\left(1,0,\frac{1}{2}y\right)$ and by ...
8
votes
3answers
1k views

Plotting a 2D shape along a 3D parametric function curve

Say I have a 3D curve that is parametrically defined. How would I be able to plot shapes like figure 8's whose centers are aligned along the 3D curve? Say the curve was: ...
2
votes
1answer
189 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
102 views

How can I plot the typical axis and not the “box axis” in Plot3D?

Are there any option to plot the typical and classic axis instead de "box axis" that is the default option in Mathematica? What I would like is any similar to the axis in red in the following image. ...
1
vote
1answer
85 views

Graphing a pulsating sphere in a 3D vector field to illustrate divergence at point

I am attempting to create an interactive animation using Manipulate[] that allows me to move a point(or small sphere) around in a vector field to illustrate ...
1
vote
0answers
135 views

Anti-aliasing won't work when there is PlotStyle command

I've found that if there is PlotStyle command in the input, anti-aliasing will not work. However if the Style code is ...
5
votes
1answer
80 views

How to make 3 dimensional arrows look good when their lenghs are wildly different?

I was trying to adapt Jens's answer for adding arrows to a 3D graphics into a general plotting function here. But I find that when I try to combine the Graphics3D ...
9
votes
4answers
490 views

Is there a Graphics primitive for a cone without a base?

Is there an easy way to get a graphics primitive for a cone without a base without using RevolutionPlot3D? I'm trying to create an "manipulable" animation of the ...
17
votes
2answers
2k views

Arrows on axes in Plot3D

I use the following code to draw Arrows on Axes in 2D graphics: ...
2
votes
1answer
48 views
3
votes
2answers
121 views

Using RevolutionPlot3D to visualize a volume

I am working with some calculus students and trying to visualize solids of revolution. RevolutionPlot3D works well for this, but I am having a bit of difficulty with the syntax of the command. The ...
2
votes
1answer
38 views

Why do I sometimes get errors when exporting 3D graphics which have been translated or scaled?

When I try and export 3D graphics, I get an error if some of the graphics complexes are translated. such as: ...
10
votes
2answers
364 views

create an (almost) hexagonal mesh on an ellipsoid

EDIT I edited the question in order to take into @Kuba's comment. I want to create this figure with Mathematica (in particular an almost hexagonal mesh on an ellipsoid; thanks to @Kuba I know this ...
1
vote
0answers
130 views

MeshFunction at azimuthal angles for RegionPlot3D

Edit: I said "polar angle"... It should be "Azimuthal angle". Sorry. I want to plot a mesh line at a certain azimuthal angle in RegionPlot3D. My goal is to ...
0
votes
0answers
174 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 ...
25
votes
2answers
2k views

Trying to Visualize a Collatz - The Collatz conjecture

I happen to have this collatz collatz[x_, y_] := If[x == 3*y || x == 2*y + 1 || y == 3*x || y == 2*x + 2, 2, 0] So i want a visual 3D adjacency graph of my ...
1
vote
1answer
64 views

Generate $n$ randomly oriented non-intersecting cylinders with fixed radius and length

This post is in reference to the previous question here. How could I adapt the solution given to have the following constraints: fixed radius, fixed length, number of cylinders, and within a ...
1
vote
1answer
85 views

PametricPlot3D vs ContourPlot3D

Basically, I don't know whether I am missing something mathematically fundamental or I misued Mathematica's functions. ...
4
votes
1answer
259 views

Graphs in 3 dimensions

I have a desired graph as here: the dashed line is just for perspective representation. I tried with LayeredGraphPlot and ...