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

learn more… | top users | synonyms (1)

5
votes
1answer
94 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 ...
2
votes
1answer
55 views

Flipping Origins of Axes 3D Plot

This is the code I am using: ...
2
votes
1answer
41 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
399 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
1answer
91 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 ...
3
votes
2answers
130 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 ...
1
vote
1answer
93 views

PametricPlot3D vs ContourPlot3D

Basically, I don't know whether I am missing something mathematically fundamental or I misued Mathematica's functions. ...
0
votes
0answers
27 views

How can I efficiently select certain mesh elements based on measurement criteria?

I am trying to do some mesh cleaning based on element size, but I'm having a hard time seeing how to best use the MeshRegion data structure to accomplish it without ...
4
votes
1answer
279 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 ...
2
votes
0answers
58 views

DiscretizeRegion fails on two clearly intersecting cylinders

Intersecting cylinders has been on the top here lately, so it got me to thinking of this, ...
2
votes
3answers
119 views

Function of surface roughness

How do I draw with Mathematica a function like this? I would use a series of circles and find the surface. Thanks!
2
votes
2answers
184 views

intersecting cylinders

I try to replicate the two figures of two intersecting cylinders from here. I tried ...
1
vote
3answers
697 views

how to plot 3d graph for x^2 - y^2 = 1? [closed]

How to plot 3 dimensional graph for x^2 - y^2 = 1? I am already using it and I only can plot in 2 dimensional graph. Can someone help me with this problem?
1
vote
0answers
39 views

Plot3D PlotStyle V10.3 vs V7 [duplicate]

This is the from the the very good book of Hazrat He used Mathematica 7.0. In Mathematica 10.3 one gets ...
0
votes
1answer
69 views

Rotate the output of Plot3D [closed]

f[x_, y_] := Sin[x^2 + y^2] Exp[-x^2] + Cos[x^2 + y^2] g2 = Plot3D[f[x, y], {x, -2, 2}, {y, -2, 2}, PlotPoints -> 50, Axes -> False, Boxed -> False] ...
3
votes
2answers
239 views

generating randomly oriented non-intersecting cylinders

I could not find anything relevant with "googling" (only this) I can create a set of randomly oriented cylinders (code found here) ...
5
votes
2answers
110 views

Align ColorBar (axislabel) to be parallel to the y-axis for any view-angle

The following code produces the 3D plot below (which is almost what I want). ...
0
votes
1answer
104 views

How to colorize a 3D image [closed]

I have a 3D image where the values are in {1/4, 2/4, 3/4, 4/4} and its size is {134, 134, 67}. I used Image3D to display it. However, I am wondering if there is a possibility to colorize the image by ...
3
votes
1answer
107 views

Replicate an image from Documentation Center (EulerMatrix)

EDIT I try to produce an image similar to that (see here) but this time with an ellipsoid. I hope I am not wrong but the code that creates this beautiful image is not available in Mathematica's ...
6
votes
0answers
112 views

How can I export 3D plots as vector graphics? [duplicate]

Consider the following simple example code: plot3D = ListPlot3D[{{0, 0, 1}, {1, 0, 0}, {0, 1, 0}}, Mesh -> All]; Export["plot3D.pdf", plot3D] As clearly seen, ...
3
votes
1answer
94 views

Change position and orientation of 3D object

I was trying to understand how 3D objects work in Mathematica, but I run into a problem I am not able to solve by myself. I have the following 3D plot: ...
4
votes
3answers
240 views

Animate $2D$ butterfly curve in $3D$

There is a butterfly curve $$r(\theta)=e^{\sin(\theta)}-2.4\cos(4\theta)+\sin \bigg( \frac{\theta}{12} \bigg)^5$$ ...
2
votes
1answer
67 views

modifying graphics3D objects after their creation

Suppose I want to demnstrate two ellispoids; one with the center at the origin and the other translated. After the advice I got in the last question I use ...
4
votes
1answer
114 views

How to include 2 dimensional disks in a Graphics3D object (Ellipsoid)

I hope I am not doing something wrong. Compare the following figures. 1) Ellipsoid ...
2
votes
2answers
94 views

2D List Plot in a 3D box: What am I doing wrong?

Let me just show the result first, and you'll see the error easily: Now, this is just a 2D image sent into a 3D box, so you'd think they looked alike. But the 2D image behaves well: The code was ...
1
vote
1answer
76 views

change the size of the image

If this is trivial or a duplicate I apologize. I failed to find something. I have the following code ...
0
votes
0answers
52 views

Mathematica creates a huge eps file [duplicate]

I use the following code (based on the responses in my recent relevant questions) in order to generate randomly distributed unidirectional cylinders in a cylinder of elliptical cross section. ...
22
votes
4answers
1k views

How to make a blob in 3D?

I am trying to make a blob like the one shown below, but in 3D so I can rotate it. I'm trying to use ParametricPlot3D or ...
4
votes
1answer
146 views

Render Graphics3D of anatomical data in color

I am trying to render a bone structure in color in Mathematica 10.3, but none of the obvious methods seem to work: ...
0
votes
1answer
47 views

Parameters of Ellipsoid dependent of other variables in Manipulate

I'm very new to Mathematica; I'm trying to use it to display a Manipulate of an Ellipsoid that contains the parameters dependent of other variables. For example, my ellipsoid equation ...
0
votes
1answer
126 views

How to draw cylinders inside a cylinder

It can be considered as a sequel to 98724 I adopt the code of ybeltukov (thanks again) and I slightly modify it. ...
1
vote
0answers
48 views
7
votes
1answer
276 views

Plot the 3D complement

I have plotted a 3D region using Show[RegionPlot3D[set1, opt1], RegionPlot3D[set2, opt2], RegionPlot3D[set3, opt3]] So this command plots the union in $\mathbb ...
2
votes
1answer
103 views

Manipulate gets stuck when ConvexHullMesh is made transparent

Version 10.3 The followinng Manipulate is a bit slow, but quite OK ...
13
votes
2answers
506 views

Advanced graphics with Mathematica

Ten years ago I bought a book by Tom Wickham-Jones, Mathematica Graphics: Techniques and Applications. I read parts of it but then I forgot its existance. In recent years I read the nice book of ...
14
votes
3answers
368 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 ...
1
vote
1answer
138 views

Transform a 3D objects to binary 3D matrix [closed]

Suppose that we have an unknown 3d object and we need to estimate it. We suppose that the object is inside a grid as below and we can do some test to eliminate the cubes or"voxel" which are not a ...
3
votes
0answers
53 views

Problem plotting 3D data with wildly different scales - only when data is in the form of tuples [duplicate]

I have some data and values for the variables, ...
15
votes
0answers
152 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 ...
0
votes
1answer
173 views

Arbitrary Oriented and Translated Ellipsoid (Euler Angles)

EDIT! This is a recent post updated and with better wording. The title has also changed. Any attempts to find something relevant have failed so far. The closest is this Ellipsoid. First some ...
9
votes
0answers
103 views

ListDensityPlot3D does not antialias axes

I sent a bug-report to Wolfram and the case number is [CASE:3454878] I'm on Linux with Mathematica 10.3 and I have my 3D graphics output set to the highest "Antialiasing Quality". It works fine for ...
1
vote
2answers
172 views
3
votes
2answers
289 views

How-to cast a set of random points on the surface of a cuboid?

I have been able to implement point picking for cylinders and spheres. However, I strugle to implement a solution for a cuboid. Please see code for point generation on cylinders and spheres below: ...
3
votes
2answers
133 views

How to add Thickness in ListContourPlot3D

How do you add a thickness to ListContourPlot3D. Extrusion works with ContourPlot3D, but ...
9
votes
1answer
132 views

Rotate manually 3D graphics when (auto)playing

Is there a possibility in Mathematica to allow for manual rotation of 3D graphics when (auto)playing either using Manipulate or ...
0
votes
0answers
39 views

best way of plotting 3D surface from a binary voxel representation in Mathematica [duplicate]

I do have binary Voxel based data for representing a 3D mesh, i.e. a VoxelVolume with values of 1 or 0, 1 specifying that the voxel belongs to the object, 0 not belonging to the object. Standard ...
4
votes
1answer
83 views

3D Plot of Matrix with bars, overlayed with empty bars

I am trying to plot a matrix with bars, and show what the perfect case would give in the form of non-filled bars. The bars I was able to create: ...
5
votes
1answer
244 views

How can I add a mesh over this?

How can I add a mesh over the following 3D plot? ...
2
votes
1answer
72 views

Plot a function with respect to two parameters that are not explicitly function parameters

$$function = |\delta|\frac{I_1(\kappa)}{I_0(\kappa)}$$ where $I_0(\kappa)$ and $I_1(\kappa)$ are the modified bessel functions of the first kind of order $0$ and $1$ I want to plot the function in ...
1
vote
2answers
112 views

How to scale one axis of a 3D plot?

I would like to scale one of the axes in a Parametric3DPlot. I tried adapting the recipe given in this answer to this case, but, as shown below, this attempt ...