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

learn more… | top users | synonyms (1)

10
votes
0answers
65 views

Bug(?) in version 10: Tooltip and ListPointPlot3D

Bug introduced in 10.0.0 The coordinates of a point in a three dimensional graph can be shown in a tooltip: ...
4
votes
1answer
53 views

How can I use multiple Textures in Graphics3D

I am creating a Graphics3D object for a box using 6 Polygons (1 per side). I can use one single Texture on one or more sides but I can not find a way to use different Textures for different sides of ...
2
votes
1answer
80 views

Mean curvature of Sphere

I am trying to calculate mean curvature of a parametric surface(like sphere), and I wrote this code based on this discussion. Here is my code: ...
3
votes
1answer
85 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 ...
12
votes
2answers
256 views

How to build a 3D graph from a 3D matrix?

Following this and that question and the corresponding answers, Mathematica can build 2D graph from 2D matrices. Question How to make the corresponding 3D graphs from 3D cubes? Attempt ...
0
votes
0answers
25 views

Visualization of 3D data by Raster3D and Import

I would like to visualize data stored in an external .txt file. The data is a 3D array of real numbers. I would like to visualize the data by using Raster3D function, but I am not sure what is the ...
2
votes
1answer
81 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, ...
8
votes
1answer
166 views

Compose many Geometric Transformations for 3D Graphics

I'm struggling to understand what would be a good way to compose several geometrical transformations to create a single TransformationFunction to be applied to a ...
13
votes
5answers
2k views

How to draw a great circle on a sphere?

I apologize for the text description, but new users are not allowed to post images. I want to draw a circle that cuts through the center of a sphere and has an inclination of 15 degrees with the ...
2
votes
1answer
51 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: ...
4
votes
2answers
279 views

Point style in ListPointPlot3D

In ListPointPlot3D, it seems the only point style available is the default, because there is no PlotMarkers option for this ...
0
votes
0answers
98 views

A question about 3D Plot

I am a new user and i would appreciate your help to visualize the 3D of the following function. Also, i need more rep to add a picture. Thank you. For every odd number on the form $n=pq$, where ...
1
vote
2answers
121 views

Rotating a plane about an arbitrary axis

I would like to rotate a plane by $k$ degrees about an arbitrary axis. How should I do it using RotationTransform? hmm i realise if I do the following ...
8
votes
5answers
493 views

Randomly assigning color to Graphics3D objects?

I have a set of Graphics3D primitives (here, spheres) which I would like to assign either: (1) One of a subset of colors, e.g. {Green, Red} (2) A random color over some RGB interval Writing ...
1
vote
1answer
41 views

Ticks Label in 3Dplot in Mathematica

In 3DListPlot, I am plotting data such that I have discretized a contineous function. While plotting, I automatically get the ticks labeling, marking the discrete points. I want to replace the ...
0
votes
1answer
48 views

Newbie code problem with graphics3D

I would like to draw a calabi-yau space in mathematica. from Andrew J. Hanson's Pdf (page 6) about this topic I got this code, which just does not show anything at all in my mathematica test version. ...
2
votes
1answer
77 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 ...
6
votes
1answer
226 views

How to add texture to solid Graphics3D object such as cylinder?

I'd like to add texture to a Cylinder inside Graphics3D. I can't see how to use FaceForm and ...
21
votes
1answer
482 views

Unintended edge extensions in 3D Cube rendering

Bug introduced in 7.0.1 or earlier -- persists through 10.0.1 or later I have arranged a certain configuration of cubes in 3D using the following code: ...
4
votes
1answer
102 views

How to get Mathematica to draw soft edges?

I need to create some black and white illustrations for which I use Glow[White]. Unfortunately this makes soft edges disappear, so objects blend into the ...
2
votes
1answer
150 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
49 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 ...
18
votes
3answers
653 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
223 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 ...
6
votes
3answers
193 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
42 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
139 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
115 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
201 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
146 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
23 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
127 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
340 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? ...
1
vote
1answer
69 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
105 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
55 views

Generating 2D models from a 3D model

I have a model of cube with randomly distributed spheres included there. ...
1
vote
1answer
46 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
212 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
96 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
236 views

Excluding a Region in ParametricPlot3D

Suppose I have a torus and a closed path on said torus: ...
17
votes
1answer
660 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
156 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
85 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
214 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
411 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
78 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
295 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 ...