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

learn more… | top users | synonyms (1)

2
votes
1answer
132 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 ...
0
votes
0answers
42 views

Another problem concerning slicing through Graphics3D

In my project, I have to generate 3D model of randomly distributed filled spheres inside a cube. As a result, I have to show the distribution of the spheres in the cube layer by layer. Using code from ...
17
votes
3answers
627 views

How to make a 3D topographic globe?

I've made some attempt with this dataset of elevation. But I have some trouble with ListSurfacePlot3D, which can not show the globe correctly: And I've checked that the data is out of problem, ...
2
votes
1answer
195 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 ...
5
votes
3answers
179 views

Need help with plotting triple data points while xy data are not regular?

recently I plotted some figure in matlab whose quality is not so satisfactory, so I come to mathematica as my supervisor suggested. This is how it looks like in matlab:. In matlab I have three m by n ...
1
vote
0answers
40 views

How to select default graphics device for charting?

Is there a way to tell Mathematica to use a specific graphics device for charting? My laptop has two graphics devices; an on-board Intel chip and a Nvidia graphics card. I noticed in Mathematica's ...
6
votes
1answer
132 views

Fractal dimension of a large networked molecular system

I am trying to determine the fractal dimension of this complex biomolecule (figure attached). Any clues as to how this can be done. In trying to determine this quantity, I wonder how its ...
15
votes
3answers
3k views

How to convert a 2D image into a 3D graphics?

I have an image I would like to make into a .dxf and to do this I need a Graphics3D object. Is there anyway I can do this? Can ...
2
votes
1answer
111 views

Custom SmoothHistogram3D

I decided to make my own SmoothHistogram3D function because I wanted to be able to specify my own bin sizes and not rely on their distribution functions so taking a cue from this answer and bringing ...
2
votes
0answers
199 views

Generalize WASD Function First Person Viewing

How might I generalize the following WASD question such that it works with any Graphics3D object and includes q and ...
1
vote
2answers
142 views

How to produce a chasing-view in Mathematica?

I would like to chase the flying plane with a video camera, how to do that in Mathematica? ...
1
vote
0answers
22 views

Edge labels in GraphPlot3D from Adjacency Matrix

I am rendering a family of graphs via GraphPlot3D[AdjacencyMatrix] and I would also like to label the edges. I already use a vertex rendering function to color the ...
4
votes
2answers
121 views

How to minimize the distance between two curves in 3D

I'm trying to find the shortest distance between r(t) and rm(t), at a certain time t. I could not get it using EuclideanDistance, any guess on how to do that? Here is what I have: ...
1
vote
0answers
339 views

How to find the intersection points of two circles in 3D [migrated]

I have two circles in 3D space generated from their parametric equations. Also, these two circles are on the same plane. How can I find out their intersection points from the parametric equations? ...
3
votes
1answer
62 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 ...
1
vote
1answer
57 views

How to draw the trajectory of a moving particle

I want to draw a 3D graph showing a nanoparticle movements in liquid environment. Basically,the code is like the followings. I used Table to generate the position coordinates instead of using the ...
2
votes
1answer
99 views

Continuous 3D Arg Plot

I have a problem with jumping phase plots using the Arg function in mathematica. I have looked at the other questions already asked here (e.g., continuous phase/Arg ...
1
vote
0answers
53 views

Generating 2D models from a 3D model

I have a model of cube with randomly distributed spheres included there. ...
1
vote
1answer
43 views

Axis Labels Disappear With Manipulate

I have a ListPlot3D with custom axis labels that I am scrolling with Manipulate. My issue is that the axis labels scroll away as ...
8
votes
2answers
206 views

Attaching a legend to BallAndStick picture

I am looking for a way to add a legend showing the identity of various atoms (with different colours) to this picture. Any Clues? ...
0
votes
1answer
88 views

How to get an Excel-like surface plot with ListContourPlot3D

I'm trying to create an Excel like surface plot from an import of data from an Excel workbook. I get the data without issue. It is a set of percentages in bin ranges over a series of dates. I'd ...
9
votes
3answers
229 views

Excluding a Region in ParametricPlot3D

Suppose I have a torus and a closed path on said torus: ...
17
votes
1answer
645 views

Mobius transformations revealed

Mobius Transformations Revealed is a short video that vividly illustrates the simplicity of Mobius transformations when viewed as rigid motions of the Riemann sphere. It was one of the winners in the ...
2
votes
1answer
152 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 ...
0
votes
0answers
36 views

Graph embedding and edge weights [duplicate]

Does functions like GraphPlot take in to account edge weights in case of springelectrical embedding? In case of spring electrical embedding I expect the vertices connected by heavy edges to be pulled ...
3
votes
1answer
80 views

How to color objects from a single .obj file?

How to paint the dolphin, shark and the box with different colors after loading the .obj file into Mathematica? ...
5
votes
2answers
213 views

Is it possible to assign different colors to parts of an .obj file?

There are four different cubes in an .obj file. After loaded into Mathematica, is it possible to assign four random colors to the cubes? ...
2
votes
1answer
393 views

How to create these famous surfaces in topology with the desired color effects?

It was said such real objects of famous topological surfaces were plotted by the cooperation between mathematician Richard Palais and artist Luc Benard, and published as the cover page of Science ...
1
vote
1answer
75 views

Missing arrow tips and colors

My main problem is: I plotted a curve here, but the tip of some arrows are missing. Why does this happen, and how can I fix this? Not the main problem: Also, I once tried to make the arrows with ...
11
votes
2answers
277 views

Map of United States as a 3D histogram

By combining the state data from here and the extrusion code from here I have managed to make prisms of the various US states such as However, the extrusion method looses information about the ...
11
votes
5answers
886 views

How to make a depth map from a 3D model?

Given a 3D .obj model, for example a rabbit. How can we make a depth map out of it? Any idea or help would be much appreciated.
2
votes
2answers
115 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? ...
4
votes
1answer
116 views

How to vary line thickness to add a sense of perspective?

Is there a simple way to vary the line thickness relative to the viewpoint so as to add a sense of perspective? Take for example the following: ...
7
votes
1answer
154 views

Strange behavior of `BoundaryMeshRegion`

BoundaryMeshRegion is new function of version 10. I am not familiar with the function. I want to decide whether a point is inside or outside in the Boundary using ...
1
vote
2answers
78 views

How to define logical expressions for platonic solids?

A more general question would be: How to find logical expressions for 3D-objects described by closed polygon sets? Finally a simple question is more prolific, therefore: How to define logical ...
10
votes
2answers
204 views

How can I decide whether a closed surface is intersected by a triangle?

A closed surface consisted of Polygons or GraphicsComplex and a triangle made by 3 points are in a 3D space. How can I decide ...
4
votes
2answers
200 views

Plotting Semi-hollow spheres [duplicate]

I wish to create a nice data representation of three nested spherical sections, with a cut away so they can be viewed. As a MWE, something like; ...
2
votes
0answers
62 views

Determining the total illumination of a polygon

Is it possible to determine the total illumination of a particular polygon with the given light sources? I truly acknowledge that Mathematica is not supposed to do this modeling, but it is what ...
1
vote
1answer
70 views

How to “merge” various graphics 2d into one 3d graphic? [closed]

I did some calculations and as result got a 2D graphic, but at the beginning of the work I used a constant parameter. What I want is to make a 3D graphic with this parameter as an axis, varying from 1 ...
4
votes
1answer
94 views

Revolving an axisymmetric image for volumetric rendering

I have a series of axisymmetric images of a jellyfish swimming in fluid. Overlaid on these images are plots of the Lagrangian coherent structures associated with swimming, which highlight the fluid ...
8
votes
3answers
120 views

Ticks disappear in Graphics3D with Epilog

Normally, you can enable Graphics3D to show tick marks by doing this: Graphics3D[Sphere[], Axes -> True] But in ...
16
votes
3answers
693 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. ...
8
votes
1answer
83 views

Mathematica's “POV” export format ignores ColorFunction

I was playing with xslittlegrass's Pov-Ray package and more generally with the POV-conversion function ExportString[#, "POV"] &, and noticed that ...
1
vote
0answers
53 views

Internal self-test error MLParseStream|c|297

I have been plotting time-dependent vectors. Earlier I used the following plotting options: ...
3
votes
1answer
114 views

fragment loss with ContourPlot3D

I expect to have a chimney-look plot out of the function z = 1/(x^2 + y^2), but what I got is a broken one. Is there a way to get an intact plot from ...
2
votes
2answers
127 views

Getting messages Rest::norest and Divide::indet from ContourPlot3D

Note: The bug described in this post is found in Mathematica version 9 and seems to have been fixed in version 10. Ok I don't know if it's a bug or what, but here's what I found: If I use this ...
2
votes
1answer
82 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? ...
5
votes
2answers
223 views

How to draw a box with holes using Mathematica

How to draw these two(especially the second one) graphs using Mathematica? The curve is not important.The point is how to dig some holes in a cube. BTW, These two shapes are Homotopy.
0
votes
0answers
68 views

How to make equidistant or split ListPoint [duplicate]

How to split the curve with more equidistant points? ...
5
votes
3answers
339 views

How to measure cross sectional area of Tube

I have modified my question to a simple version. I have vertex clusters, polygons and a list of center points. Attached pts and polygons of 3d tube are: ...