{3d} is about three-dimensional content, e.g., images and drawings.

learn more… | top users | synonyms

2
votes
1answer
184 views

Beamer class and U3D Views

I want to switch 3D views in my presentation. I have read in the movie15 package that it is possible with the command: (dice example from movie15.pdf page 16) \movieref[3Dviewindex=N]{dice}{Click ...
2
votes
1answer
176 views

How to fill a planar 3D path in asymptote?

Is there, in Asymptote an equivalent of the fill command that works for planar 3D paths? I thought surface did this: I expected the commands fill(project(p)) and draw(surface(p)) to always ...
2
votes
1answer
99 views

pgfplots: frame not closed for surface plot

If you compile this MWE you will find that the frame for the 2d plot is closed, but for the contour plot, which is a 3d plot, not. Both figures are taken from the examples from the pgfplots manual. ...
2
votes
1answer
61 views

Draw sphere and add scattered data with color information [closed]

My goal is to plot 3D data (x,y,z coordinates) such that a certain path on/inside a unit ball is illustrated. Since the path will not only be on the surface of the unit ball I have to encode the norm ...
2
votes
0answers
176 views

Draw a hemisphere (or just a segment of a sphere)?

Drawing a sphere is easy enough using the ball shading, or some more refined form as in How to draw a shaded sphere, but I would like a way to shade only one half (or even just slices). I currently ...
2
votes
0answers
163 views

Drawing “beautiful spheres” in TikZ

I found some ready-made code to draw spheres and lines on them in this paper, which refers to this example. Bottom line is that I do not get the presented result using MiKTeX on 64-bit Windows 7, ...
2
votes
1answer
156 views

Tikz 3d trimetric view coordinate calculation bug

I'm trying to draw a line in the x-y-plane and circles in the y-z-plane at constant x position. Problem is, that the circle is far out of position (x-coordinate of center point of the circle is ...
2
votes
0answers
120 views

pgfplots: rotating a shape in 3D independent of the axes

I have a group of shapes I'm plotting in 3D via \addplot3 (such as a cone) and need to have them pointed in a direction specified by the macro arguments. I do not want to just change the view angle or ...
2
votes
0answers
245 views

Solid of revolution about arbitrary axis

I'd like to rotate the region between y=cos(x) and y=x^2 - 0.25*pi^2 about the line x=pi. How to do this? So far I have only managed to rotate around the x-axis: \documentclass[letterpaper]{article} ...
2
votes
0answers
177 views

Making a black hole and information [closed]

I would like to make the picture similar to the following to represent information in a black hole horizon and black hole inside the sphere in tex. I can make a sphere but making the discrete bits ...
2
votes
0answers
339 views

How do I replace an XYZ coordinate system on an already available plot? [closed]

I have an eps file looking like this: I have no access to the original dataset, so replotting it is not an option. I would like to replace the ugly 80s style coordinate system (Both the captions ...
1
vote
1answer
443 views

Torus with semi-dashed line in TikZ

Is there a simple way to produce in TikZ a two-torus rounded by two circles, each with the non-visible half dashed, as in the sketch?
1
vote
1answer
2k views

Some simple surface drawing using addplot3 for pgfplots won't compile

I am having trouble compiling even some very simple surface drawing using pgfplot and addplot3, for example please see the attached code, I keep getting error saying \begin{axis} on input line 8 ended ...
1
vote
1answer
74 views

Draw a 2D functions in tikz

I want to be able to plot in a 3D environment any type of function of two variables z = f(x,y), where x and y are specified within a given range. For instance plot f(x,y) = x^2 + y^2 where x in [-2,2] ...
1
vote
1answer
73 views

Tikz and figures in 3-space

How can I draw this in LaTeX? I can do with a lot of segments but I think that there is other easy way to do it. And how can I add this gray blackground to images that give that spatial view.
1
vote
1answer
20 views

Asymptote error in plain_Label.asy

I'm trying to compile the Asymptote script fig0090.asy from http://www.piprime.fr/files/asymptote/graph3/index.html by running asy fig0090.asy in the command line but I get the error ...
1
vote
1answer
75 views

3dplot viewing angle

I need to choose my view angle in \tdplotsetmaincoords{ }{ } (elevation and azimuth) so that my plot ends up looking like the one below. I wish to do this entirely via the view angle, not relabelling ...
1
vote
1answer
95 views

pgfplots error plot 3D math function of two variables

I want to plot a very typical production function (q=L^0.5*K^0.5) in 3D using pgfplots package. When I compile the following MVE I get the following error "! Package pgfplots Error: An internal error ...
1
vote
1answer
446 views

Is it possible to create 3D-Images with optical distortion and transparency effects?

Is it possible to create 3D-Images like this one: with LaTeX (preferably tikz)? How do you do it? Are there good tutorials / documentations? (I have seen some examples from tikz-3dplot, but these ...
1
vote
1answer
40 views

Asymptote: Arrow3 only has 3D arrow head

If I draw a Arrow3, it does not really look 3D-ish because the line is not shaded like a cylinder. How do I change this? Probably drawing the cylinder and arrow head manually together? How? Here is a ...
1
vote
1answer
338 views

rectangle in 3d plane

I am trying to plot a 3d axis with a rectangle perpendicular to the x-plane using the following code: \documentclass[tikz]{standalone} \usepackage{pgfplots,pgfplotstable} \usetikzlibrary{calc} ...
1
vote
1answer
131 views

How to fix layering with the 3d package?

I used the 3d TikZ library to draw a circle in the z-y plane around a line along the x axis. But since the circle is drawn on top of the line, it does not look like the line passes through the circle. ...
1
vote
0answers
50 views

Glitches and other problems with pgfplots

I want to draw a rather smooth surface in a 3D graph with pgfplots. 1) It shows however, some glitches (spikes on the smooth surface), which I guess due to some numerical issues in the basic package. ...
1
vote
0answers
182 views

How can I draw the 3d blood vessel [closed]

How can I draw the 3d blood vessel as the picture showing?
1
vote
0answers
64 views

Lines plotted in front of others, though they should behind in a 3d plot

After converting a figure to TeX using matlab2tikz, I figured there's a little problem. The figure consists of many lines, but there are two different sets of lines a cloud set, forming a stream ...
1
vote
0answers
163 views

3D ipelets for ipe

Is there an ipelet to draw 3D objects in Ipe? I know there's one for plotting 2D functions, but I didn't find any in 3D. Thanks!
1
vote
0answers
233 views

Setting a rotation matrix instead of Euler angles in tikz-3dplot

In tikz-3dplot, I would like to use rotated coordinates by setting the according rotation matrix directly, instead of implicitly by Euler Z-Y-Z angles. I already tried to modifiy the internal matrix ...
1
vote
0answers
246 views

Drawing a mesh heart in TikZ [closed]

I would like to reproduce the figure created with Matlab here, using TikZ. However, I'm very inexperienced with TikZ, and anything more than just drawing lines is beyond my abilities. Could anyone ...
1
vote
0answers
191 views

Can't zoom on u3d object in pdf

I am trying to make pdfs with u3d objects embedded, however when doing so I note that I cannot zoom in on the object, either by scrolling, or switching to the zoom tool. Interestingly, the pan tool ...
1
vote
0answers
225 views

Replace \path in Tikz with a 3D tube

Is it possible to define a new command in Tikz, which will use the same arguments as the \path [line] (node1) -- (node2); command, but which draws instead a 3D tube?
1
vote
0answers
486 views

Trouble with 3D axis in pgfplots [closed]

I have texlive 2012 and have drawn a curve in three dimensions with pgfplots. That has not been a problem. The axes occurs in a way not appear well suited. In the code I indicated that ymax = 1.5, ...
1
vote
0answers
931 views

Exporting 3D graphics from Mathematica to TeX [closed]

So far, whenever I had to use a 3D plot generated in Mathematica in a LaTeX document, I used exported the graphics to either of the following: PDF PNG file format. Then I could easily include the ...
0
votes
1answer
127 views

Tikz: Stacked hollow solid cylinders

Is there a way to draw three hollow cylinders with finite thickness in TikZ? The result should look something like this: I already found the shape=cylinder option as in here or here. But I have no ...
0
votes
1answer
361 views

Legend on top of a pst-solides3d drawing

Another question aboutpst-solides3d and visibility: How can one draw a legend on top of the 3d drawings ? I thought that putting the put command before or after the 3d drawings commands would render ...
0
votes
2answers
123 views

Find cylinder tangent in 3D

I am trying to draw a complicated form that is loosely based on a half cylinder. I am using tikz-3dplot to be able to accurately draw arcs in planes other than the xy-plane and to nicely set the ...
0
votes
1answer
182 views

Can I add 3D objects as subfigures (using movie15)

I have faced one stiff problem that when I try to add four 3D plots (2 rows x 2 columns) in my beamer by using subfigure approach, I fail! This is my minimal example: \begin{frame} \begin{figure}[t] ...