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

learn more… | top users | synonyms

1
vote
3answers
66 views

I want to draw a dot / small sphere in a TikZ 3D Plot

I got a 3d coordinate system and I want to mark a point with a dot. \begin{tikzpicture}[x = {(0.866cm,0.5cm)}, y={(0cm,1cm)}, z={(0.866cm,-0.5cm)},] \draw[thick,->] (-15,0,0) -- (15,0,0) ...
3
votes
0answers
43 views

Is it possible to make slideshow with u3d files in a beamer template?

I'm just interested if there is a technical way to merge between animate package and movie15 package in order to get an interactive 3D slideshow (like that shown below in the link) with full features ...
13
votes
1answer
214 views

tilted planes as scopes

I am trying to rebuild the following 3D graphic with TikZ. Exact resemblance is not required, and I have actually decided to change the geometry and style a bit to increase the clarity of the ...
0
votes
0answers
37 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 minimum example: \begin{frame} \begin{figure}[t] ...
0
votes
0answers
18 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 ...
2
votes
0answers
30 views

PGFplots 3D: Axis labels are placed “in the middle” of axis instead at the tip

I would like to use the "center"-style for axis and place the label of the axis near the arrow tip. It works in 2D but in 3D the labels for the x and y axis are placed at very weird places. See the ...
4
votes
0answers
89 views

Transform paper folding diagram to 3D object or vice versa

I made this commands to make paper models, and I ask if it is possible to have a 3D view of them converting in tikz-3D, or backward. But it's easier to draw the flat model and generate the volume ...
5
votes
1answer
317 views

How can I draw a twisted 3D arrow?

Does anyone know how I can draw an 3D arrow that in itself is twisted by 90 degrees? I need such arrow to show how polarized light is twisted in a liquid crystal. I would like to include that arrow ...
10
votes
1answer
174 views

Draw closed section of sphere using pgfplots

I want to draw a section of a sphere to represent its volume. I have currently got the following: \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=1.11} \begin{document} ...
2
votes
0answers
74 views

tikz-3dplot, geodesics and adressing endpoints in polar coordinates

I am trying to draw geodesics on a sphere. While many approaches, like for example this one, i am more interested in another way. If i specify two points, say qand p on the Sphere, i would like to ...
3
votes
1answer
77 views

Cannot compile asymptote 3D graphic

I just installed Asymptote on my laptop and while I can compile 2D images, rendering never completes when compiling 3D images. Here is what I did on my Windows 8.1, 64 bit machine: installed ...
5
votes
1answer
80 views

Drawing bonds between atoms with pgfplots

I'm trying to draw a molecule using pgfplots. I have successfully drawn the atoms with the code below: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.9} \usepackage{tikz} ...
2
votes
1answer
93 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 ...
4
votes
1answer
99 views

Camera zoom and picture size in Asymptote

I am trying to make a 3D animation in Asymptote involving moving infinite surfaces. I would like to set up a "steady camera", so that a unit ball would always look the same size relative to the ...
2
votes
1answer
63 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
112 views

HowTo: 3D plot of a surface element with normal vector

I'm new to tikz, and I'm trying to visualize a surface element, something like In contrast to the example image above (which I referenced from the web), I would like to draw the surface element in ...
6
votes
1answer
442 views

Drawing coaxial cables: TikZ or pstricks

I want to draw this. I don't find any way to do I can draw some things... but it's so bad! and it's not realistic! please HELP... \begin{document} \newcommand\innenleiter[3]{% ...
4
votes
1answer
118 views

Asymptote: Parametric surface isn't working with Spline interpolation

I have a parametric surface that is defined in terms of the Lambert W function and which I want to display with Asymptote. For that the Lambert W function was implemented using Newton's method and the ...
3
votes
1answer
96 views

Labels in 3D mode don't work in Asymptote

When I create 3D asymptote graphics, labels just don't work. When I copy the code from the question in Positioning Labels in Asymptote I get the exact same plot just without the "x". Everything works ...
3
votes
1answer
173 views

Using tikz how to draw a wedge?

I'm working on to create illustrations for my class on Mechanics of Materials & Theory of Elasticity! I am trying to create a wedge and put arrows on plane to show the stresses acting. ...
3
votes
1answer
190 views

Draw a circle in a coordinate system of an arrow on a half-sphere

I am trying to draw a half sphere with several arrows on it. Each of those arrows should have a circle positioned on it, drawn in a local coordinate system of the arrow. I managed to draw the sphere ...
5
votes
1answer
117 views

Asymptote: How to draw surfaces with more than four vertices without “seams?”

In Asymptote 3D, I need to draw surfaces with more than 4 vertices, but when I do, either it simply doesn't work (I can't reproduce this in a simple example, but can provide a more complicated case ...
2
votes
1answer
106 views

Bending of edges

I have some problems bending the edges of my grap properly. I want to draw a flow network, so far I have done the following: What I would like to have is that the edges going out from the Source ...
6
votes
2answers
229 views

How to plot the four regular star polyhedra with tikz?

I can plot the regular convex polyhedra, for examples \begin{tikzpicture}[scale=1.0] \tikzstyle{every node}=[circle,fill=blue!20,inner sep=0pt,minimum size=0.4cm] \foreach \y[count=\a] in ...
2
votes
1answer
103 views

Path shaded perpendicular to its direction

Is ist possible to apply a shading to a path perpendicular to it's current tangent. I want to draw some kind of 3d-pipe. My question is related to this question. I want to draw 3d-molecules and I am ...
4
votes
1answer
147 views

parametric plot 3D, helix and astroidal sphere

Can somebody help me and write code for this 2 picture in WinEdt (latex) (this is from Mathematica, I write in Mathematica, but I don't know write this code in WinEdt). I tried with ...
9
votes
3answers
428 views

Parabolic Moebius map on sphere using tikz

There is a discussion here about coding the elliptic Moebius map. I however am interested in how I might do the parabolic one. case [d] The arrow heads are not an issue, but how do I get the lines ...
9
votes
1answer
121 views

How can two bivariate normal distributions be plotted in one plot?

I would like to visualize the following two bivariate normal distributions: I found Jakes awesome answer and adjusted it so that the plots get rotated the correct way. Current plot Question ...
5
votes
2answers
145 views

Improving the visual appearance of a truncated cone in TikZ

I have drawn a truncated cone in TikZ and am generally happy with the result. Here is the output and an MWE: \documentclass{standalone} \usepackage{tikz} \begin{document} ...
3
votes
0answers
153 views

Draw molecule structure with torsion angles in TikZ

I am trying to reproduce this figure in LaTeX: The packages that I have seen for annotating chemical structures do not seem to accomplish what I want (not to mention that my knowledge on chemical ...
3
votes
0answers
138 views

3d sphere style changes coordinates?

i took this one http://www.texample.net/tikz/examples/map-projections and rebuild or changed it for my use. This is a crosspost to: ...
4
votes
1answer
119 views

3d plot of a surface with nonrectangular domain

I need to make a 3D plot of a step function For example, suppose that I want to plot the function f:[0,1]x[0,1]->[0,1] given by: f(x,y) = 1 if x < y^2 and f(x,y) = 0 otherwise I would like to ...
5
votes
0answers
130 views

Cross in particular plane in 3D

I'm creating tikz graphics in (x,y,z) Cartesian coordinate system. I'm defining objects (circle in my WE) in some plane using \tikzset{xyplane/.style={canvas is yx plane at z=#1}}. I noticed it ...
1
vote
0answers
83 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!
4
votes
2answers
242 views

Import 3D object in LaTeX

Is there any way to import a 3D file of an object (.stl for example) to draw a 2D projection of it into a TeX document ? I have been surprised to don't find any subject about that, I was thinking a ...
6
votes
1answer
136 views

Adding arrows on 3D curves in Asymptote

I am trying to plot (1D) trajectories in 3D with Asymptote (because I am also plotting surfaces with opacity and do not want to use hacks for hidden surfaces). Each curve is defined by points in an ...
2
votes
1answer
119 views

pgfplot: how to render 3dplot with colors black, white and gray

I my previous question, I rendered a 3d plot, but as I want to print my plots they should be in black, white or gray coloring format. How should I change the coloring scheme? ...
2
votes
0answers
160 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} ...
5
votes
2answers
182 views

Sketching conic sections as intersections of cone and plane?

I would have thought this would be trivial, but I still haven't found an easy method. All I want to do is draw a cone, a plane, and their intersection (which will be a conic section). Something ...
18
votes
1answer
267 views

Rotation transformation of a parametrized plot

I'm working on this plot with pgfplots: The image is from our sister-site Mathematica.SE and there's also a nice explanation how to do it with Mathematica. I follow these steps: Parametrize the ...
7
votes
1answer
95 views

Intersecting boxes in pst-solides3d

I need to make a picture of some 3D boxes (i.e., parallelepipeds) that intersect themselves in some complicated ways, so I tried pst-solides3d. Here's the minimal working example: A long and thin ...
9
votes
1answer
158 views

Function rotated about the x-axis

I try to reproduce some figure from that file: http://tug.org/TUGboat/tb33-1/tb103wolcott.pdf I exactly need Figure 7: f(x) = sin x rotated about the x-axis. The code for Figure 7 is in appendix B. ...
10
votes
1answer
376 views

Bend 3D cylindrical object

I am trying to draw the following image with TIKZ. My question is that, is it possible to bend 3D objects in TIKZ. I would like to bend the cylinder object in the code that I have given below and ...
3
votes
1answer
84 views

Shading faces of solid (described using using \parametricplotThreeD)

Does anyone know how to shade only one of the faces of a solid whose faces are described using parametricplot? For example, shade the faces of the solid below? In general, how to color each of the ...
0
votes
0answers
36 views

tikz 3D intersection of planes [duplicate]

I have got this figure in form of a PNG graphics. I can directly use it in my latex document. However, I would like to know if I can draw it with Tikz. I don't have much idea about two things - ...
2
votes
1answer
506 views

Creating “cylinder with bottom” node shape in TikZ/PGF

How to create custom TikZ node "cylinder with bottom", where hidden line in cylinder bottom is shown using dashed line. Something like the following creation, except node center should be in the ...
3
votes
0answers
37 views

Independent coloring of contour and 3D plot in pgfplots [duplicate]

I have a problem with pgfplots where the addition of a contour plot at the bottom of a 3D plot changes the coloring of the surface plot. This is a simple example: ...
7
votes
2answers
282 views

Asymptote 3D: how to draw a surface with a pattern (e.g. checkerboard)?

In Asymptote, I'd like to draw two intersecting planes, one with a solid color and another with some pattern (e.g. checkerboard), so that it would look okay if printed black and white. However, the ...
17
votes
4answers
1k views

Drawing intersecting 3D surface plots

I'm attempting to draw six semi-transparent intersecting spheres of different colors---two on each axis x, y, z and all joining at the origin---as shown in the figure below. Note how all the spheres ...
3
votes
0answers
197 views

How to draw 3d molecules with TikZ?

Is it possible to draw molecules in 3d with TikZ like in this picture?