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

learn more… | top users | synonyms (1)

0
votes
0answers
113 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 ...
1
vote
1answer
75 views

Can I Adjust Thickness of Spheres and Cylinders to Make Objects Printable in 3D?

I have a design of a crystal structure using Sphere and Cylinder in Mathematica. I then exported the result as an STL file and tried to print it. I was told that the objects were "too thin," that ...
3
votes
1answer
97 views

FindShortestTour 3D data

I would like to plot a line in 3D with the following set of (x,y,z) data points: ...
22
votes
2answers
1k views

Trying to Visualize a Collatz - The Collatz conjecture

So I'm new in this and learning--- and 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 ...
13
votes
1answer
448 views

Mathematica: 3D plot based on combined 2D graphs

I have several sigmoidal fits to 3 different datasets, with mean fit predictions plus the 95% confidence limits (not symmetrical around the mean) and the actual data. I would now like to show these ...
1
vote
0answers
46 views

How to replicate drawing applications' Quad-View playing with MatrixView?

I'm having trouble in figure out how to set the ViewMatrix in order to replicate the Quad-View that is available in drawing applications such as Blender. In these packages, if I drag the point of ...
1
vote
0answers
65 views

How to create the new CDF logo by Mathematica?

I am very curious about the CDF logo, can anyone tell me how is it made? is it made by Mathematica? Does anyone give me any tips?
2
votes
1answer
332 views

Putting N cubes on a circle

I'm trying to put $N$ cubes on a circle equidistantly. So in the case of 4 cubes, I'd for example like to put the lower left corner of the first cube at $\pi/4$, the lower right of the second cube at ...
2
votes
0answers
35 views

Export Tube with VertexColors to 3DS

I would like to export a Tube object with VertexColors defined to 3DS format. Here's a minimum example: ...
4
votes
1answer
62 views

How to feed parameters obtained from direct 3D manipulation back into Manipulate's controls?

Here's a simple example of using Manipulate to interactively change the viewer's point-of-view for a 3D graphics object: ...
0
votes
1answer
68 views

How can I connect a curve to a point by a straight line?

I have a curve in space, already plotted: ...
7
votes
1answer
173 views

How to make sure polygon is drawn flat in 3D?

Bug introduced in 8.0 or earlier and persisting through 10.2 or later I'm working on this SE question about pentagrams on top of dodecahedron for exercising. Both solutions are basically connecting ...
6
votes
5answers
412 views

How to draw a dodecahedron with each face modified to a pentagram?

I'd like to draw a dodecahedron with each face carved on the sides so it becomes a pentagram. I wonder how to start to do this kind of task in Wolfram language? Edit: The result should still be a ...
1
vote
0answers
36 views

Orthographic view (top,bottom,left,right,rear,front) and Isometric view using ViewMatrix [duplicate]

I want to know how to obtain the orthographic view (top,bottom,left,right,rear,front) and Isometric view using ViewMatrix. I read the ViewMatrix documentantion but couldn't figure out how to do it.
1
vote
1answer
78 views

RegionPlot3D Empty

I am attempting to cut out holes in a sphere, circumscribed around a regular tetrahedron. To do so I define some points (p1 through p4 are the vertices of a tetrahedron) ...
4
votes
2answers
357 views

Tube vs. Cylinder

What is the practical difference between plotting Tubes and Cylinders? The documentation for each describe a 3D tube/cylinder around the line between 2 points....they seem identical. However, there ...
1
vote
1answer
84 views

Translating and Rotating a Region

I'm having an issue that is related to an old question (How do I plot a filled cylinder in 3D?), but it's an extension of it. The previous question details how to make 2D slices of a 3D region with ...
0
votes
1answer
82 views

Variable ViewPoint coordinates [duplicate]

Can I use the option ViewPoint on Graphics3D[], with its setting a variable function? For example: ...
1
vote
1answer
61 views
1
vote
0answers
75 views

Manipulate - 3 sliders for a list of 3 elements [closed]

I'm trying to create a slider for a list of 3 elements. I know that I can create a 2D slider for a list of 2 elements and it's impossible to create a 3D slider for a list of 3 elements. So, I just ...
2
votes
1answer
42 views

Animating an InterpolationFunction and its integral

I have a list of data that I interpolate (Omega[t]) and animate - it is working fine, but an Integrate over the ...
5
votes
2answers
111 views

Generating and Imaging of the water molecules with Graphics3D [duplicate]

my problem is I don't know how to generate e.g. 20 water molecules: Graphics3D[ Rotate[First@ChemicalData["Water", "MoleculePlot"], 45 Degree, {8, .5, 0}]] ...
1
vote
1answer
87 views

The image turns black when I use the mouse to rotate it

All, This code ...
4
votes
0answers
68 views

Adding a 3D point using Epilog [duplicate]

I am trying to add a point using the Epilog option with ContourPlot3D. ...
0
votes
1answer
61 views

plot randomly oriented lines

I want to create the following graphic: A set of line-elements are randomly oriented in planes parallel to xy-plane. In addition, on each plane the drawed line-elements should not cross each other. ...
4
votes
2answers
96 views

How to conditionally combine a RegionPlot3D with a ContourPlot3D inside a Manipulate?

I know how to combine a RegionPlot3D and a ContourPlot3D, which I did (see below for details on the code I'm referring to) with ...
2
votes
1answer
121 views

Coloring points via “TemperatureMap” [duplicate]

I have a collection of 3D points, and each is associated with a real number in [0,1]. A typical element looks like {{x,y,z},c} where ...
0
votes
1answer
64 views

Animating a Sphere to move along a 3D curve [closed]

How do I get a sphere to move along a 3D function in Mathematica?
0
votes
0answers
67 views

RegionPlot3D of MeshRegion with VertexColor-like behavior

I regularly use the VertexColors option with GraphicsComplex[] to render images of objects with certain attributes at the ...
0
votes
1answer
93 views

Problem with 3D surface disconnections [duplicate]

I have a problem with a 3D surface in Mathematica 10.1. The problem is that the surface comes out disconnected even if it shouldn't. Here's a minimal toy example showing the problem: ...
2
votes
1answer
73 views

Dynamically change the ViewCenter location of a 3D graphics

I would like to be able to dynamically change the rotation pivot point location of a 3D graphics (in Mathematica terminology ViewCenter). In 3D CAD software, this ...
4
votes
2answers
174 views

Overlapping Spheres with a Shared Blank Region

We have two similar overlapped spheres in a way that the distance between their centers is smaller than the sum of their radius (2R>a). As I show here: Also, we want to draw them in a such way that ...
3
votes
4answers
115 views

Find the volume of the region defined by $|x|+|y|+|z|<4$

I want to find the volume of the region defined by the following inequality: $\quad \quad |x|+|y|+|z|<4$ In addition to calculating the volume of this region, I would also like to be able to ...
2
votes
0answers
83 views

Arrowhead becomes unattached to line in a Graphics3D Manipulate

I'm trying to Manipulate a Graphics3D figure, and am seeing some errors. If I execute the following code, and move the slider, ...
11
votes
6answers
524 views

How do I draw a polygon defined by a list of data points?

I am attempting to make a 3D model of a device defined by a list of {x,y,z} points, digitized from a 2D image. The z coordinate is defined in mma. What I tried so far: ...
1
vote
0answers
63 views

Why are my 3D plots getting inverted?

For some reason, all 3D plots that I make in Mathematica 9 get inverted in both the image and the axes. For example, using the simple plot: ...
1
vote
2answers
76 views

Plot The volume of a cylinder between a cone and XY

I want to plot the volume of a cylinder between a cone and the plane XY The equation of the cone is $z$ $=$ $\sqrt{x^2 + y^2}$ and the cylinder equation $y^2 - 2y + x^2 = 0 $ I am using the ...
14
votes
2answers
278 views

Can Mathematica produce manipulatable 3D plots for deployment on the web?

I have a 3D plot I produced in Mathematica and I would like to share it with the world in a way that allows my audience to rotate it and interact with it in the broadest possible way. I would like ...
0
votes
1answer
77 views

SIGSEGV Error on Plotting Tubes

I have code to plot some "2 dimensional" points in 3D space, and connect a line between them (because ListLinePlot3D takes way to long/hangs), which works fine: ...
1
vote
0answers
80 views

Bad rendering of rotated text in 3D graphics in notebooks

Why is my rotated text so badly rendered in 3D graphics in notebooks (the exported pdf are OK). It happens for me with v9 or v10.1.0 and OSX (10.9.5). Notice that the rendering is good in 2D ...
6
votes
1answer
103 views

Graphics3D and Bit Depth of Rendering

A year or so ago, I sent this question to WRI (nb- a former employer of mine) and, as happens with bug-reports-that-arent-bug-reports, it was swallowed into the black hole that is Chambanna. So- I ...
3
votes
1answer
122 views

Put labels sloped along axes in ListPlot3D

The three text labels in the following figure are all in horizontal direction. How to put the labels sloped along each axis to which it is attached? My Code ...
6
votes
1answer
267 views

Eliminate an unexpected mesh line

What is the source of the vertical mesh (ring) in this figure and how does one eliminate it? ...
5
votes
3answers
130 views

Choosing which edges of the box to show in 3D graphics

Is there a way to explicitly choose which edges of the bounding box to show when plotting something with Boxed->True? For instance, a plot like ...
7
votes
0answers
85 views

Color Snapping When Using VertexColors with a Tube with BSplineCurve as an Argument

I think I've identified a bug in how VertexColors are treated when rendering a Tube object where the underlying data is a ...
0
votes
0answers
44 views

How to get an obj file and close it using the reflection without knowing what the vertex is?

I was given an problem in mathematica, that gives me a .obj file, and I need to close it. All I was given was this, ...
2
votes
1answer
68 views

Combined ListPlot3D using arrays of different length

I have three parts of a ListPlot3D that I would like to combine. The problem is, the middle part has more points in one dimension than the other two, which means I can't combine them easily to plot ...
1
vote
1answer
79 views
9
votes
2answers
191 views

How to have one or multiple Boxed graphics, mixed with non Boxed, in the same Graphics3D

In the following example, I would like to Boxed only the RegionPlot3D, and not the Sphere. ...
2
votes
1answer
75 views

more than one label in Graphics3D

I'm trying to add some information to my Graphics3D Plot. At the moment I output the value of a function that changes when I use the sliders. I do that with PlotLabel. I need more data to be displayed ...