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

learn more… | top users | synonyms

2
votes
2answers
58 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
82 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
52 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
70 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 ...
4
votes
1answer
105 views

Setting camera view within Sketch

I'm using sketch to generate 3D tikz graphics, but the sketch documentation is not helpful. For example, here is some sketch code: def v1 ( 0.000, 0.000, 1.000 ) def v2 ( 0.894, 0.000, 0.447 ...
295
votes
48answers
78k views

Nice scientific pictures show off

Task Show off your best scientific illustration ! The main purpose of this question is to share beautiful scientific pictures, preferably with an educational aspect. Content Your post must ...
5
votes
0answers
89 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
39 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!
3
votes
2answers
109 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
51 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 ...
4
votes
1answer
207 views

Make lines disappear, pst-solides3D

I'm drawing the following cylinder which represents a water flowing and cooling down \documentclass[a4paper,10pt]{article} \usepackage{pstricks} \usepackage{auto-pst-pdf} \usepackage{pst-solides3d} ...
2
votes
1answer
61 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
103 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} ...
8
votes
3answers
2k views

Surface plot with coordinates in pgf

Is it possible to draw a three dimensional surface using coordinates instead of formulas? MWE so far: \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} ...
5
votes
2answers
94 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 ...
17
votes
1answer
194 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 ...
2
votes
2answers
507 views

How to draw spherical using 3dplot

I would like do draw some sphericals using the package 3dplot. Does anybody know how to draw spericals with different diameter and postition in a coordinate system like that one? ...
7
votes
1answer
65 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
112 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. ...
27
votes
2answers
786 views

Draw 3D intersecting surfaces

Problem This is a shameless "just do it for me" graphics question, but honestly I have no idea where to start. I'd like to reproduce this figure The image shows the intersection of two ...
9
votes
2answers
714 views

Specifying the transformation matrix TikZ uses manually?

I'm creating some 3D graphics using TikZ, and I need to apply a transformation matrix to some coordinates I'm specifying in 2D so they end up in 3D. I am going to draw graphics on all three visible ...
3
votes
1answer
63 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 ...
9
votes
1answer
312 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 ...
13
votes
2answers
1k views

Big data surface plots: Call gnuplot from tikz to generate bitmap and include automatically?

Motivation I have large numerical data files, that I would like to create density (surface) plots of. Since they are very big, we can rule out a few possibilities such as to plot them directly with ...
25
votes
9answers
6k views

Drawing polyhedra using TikZ with semi-transparent and shading effect

I would like to draw an Octahedron using TikZ, I found nowhere to start, I tried drawing 6 points and then connecting them properly, but this method gives no 3D feel at all, this is my drawing: ...
0
votes
0answers
32 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 - ...
1
vote
1answer
130 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
36 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: ...
2
votes
1answer
163 views

Asymptote default renderer problem after upgrading to TeX Live 2013

I just upgraded my TeX Live installation on Ubuntu 64-bit from 2012 to 2013. After the upgrade, when I tried to render some simple 3D drawings I was not getting the default rendering window to come ...
7
votes
2answers
158 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 ...
15
votes
3answers
799 views

Draw a 3D diamond structure

I want to draw a 3D diamond crystal structure. The point where I struggle is quite in the beginning to draw connecting 3D rods: \documentclass{article} \usepackage[utf8]{inputenc} ...
41
votes
5answers
3k views

3D helix torus with hidden lines

How can I generate the above image using TikZ (possibly other methods will work if they produce better looking results)? I would like to have a nicely shaded (not so dark image) without gridlines ...
17
votes
4answers
853 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
130 views

How to draw 3d molecules with TikZ?

Is it possible to draw molecules in 3d with TikZ like in this picture?
6
votes
2answers
484 views

tikz stacked disks 3D

I would like to know if it is possible to draw an image like this in 3D using tikz? I am having some text around this picture, which looks great in tikz, but I am unable to draw this kind of 3D figure ...
28
votes
2answers
640 views

3D solids with Tikz - or an alternative?

I want to draw 3D shapes in latex. I have tried out different strategies, but nothing has led me to a good solution yet. First what I want to do, then what I have done so far. In prioritized order, ...
3
votes
1answer
160 views

Can we color and rotate a cube?

I want to present a cube to illustrate, and I want to color four of its sides. The colors will be blue, red, green and yellow; the two remaining sides should be clear or white or, perhaps, black. In ...
10
votes
1answer
3k views

How to change label and ticks of a pgfplots colorbar?

I have a 3d plot with colored surface and a colorbar made with pgfplots. My probably related questions are: How can I set the label of the colorbar? What are the equivalents of zticks (positions of ...
8
votes
2answers
406 views

Drawing Solids with LaTeX

I want to know if there is a package that automatically draw solids (spheres, cylinders, cubes, prisms). I know I can do this kind of drawing using TikZ or PSTricks. But what about a package where ...
7
votes
3answers
250 views

Creating a labeled tetrahedron with tikzpicture

I am wanting to draw a tetrahedron with labeled points on each corner. I attempted to edit the example of a cone that I found here: A cone with tikzpicture I have made it look partially like a ...
8
votes
3answers
274 views

PGFplots 3d: Creating a filled solid of revolution

I have searched through the internet for a solution, but since I'm not that skilled with pgfplots, I need your help. For several examples I want to draw solids of revolution, but filled ones. I ...
6
votes
1answer
138 views

How to prepare coordinates for 3D surface plot using pgfplots

I'm trying to plot a Pareto front on 3 dimensions, using pgfplots. However, although I expect a nice surface to appear (since it is a Pareto front), pgfplots does not produce the result I want (yet). ...
5
votes
2answers
302 views

Making mesh grid lines transparent in surface plot with pgfplots

I need to make a partly transparent, one color, surface plot. Additionally I want to control the transparency of mesh lines. Running this code: \documentclass{standalone} \usepackage{tikz,pgfplots} ...
1
vote
0answers
121 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 ...
5
votes
0answers
155 views

Help creating 3D solids of revolution in pgfplots?

I have done a lot of plotting in 2D using pgfplots but I am new to the 3D portion. I am attempting to illustrate a solid of revolution. For example, I have the area under the curve y = x^2 + 1 on the ...
4
votes
2answers
154 views

Draw circle perpendicular to line

I was trying to create a circumference perpendicular to a line similar to this but I only see a tutorial for creating in a axis-plane (xy, xz, yz) \documentclass[tikz, border=15mm]{standalone} ...
1
vote
0answers
157 views

Drawing a mesh heart in TikZ

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 ...
3
votes
1answer
129 views

Converting node coordinates in tikz 3d?

Consider this MWE: \documentclass[% 12pt, journal, onecolumn, twoside, draftcls, letterpaper, ]{IEEEtran} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{positioning} \usetikzlibrary{3d} ...
4
votes
1answer
88 views

Correct clipping of 3D tikz for adjustbox?

Consider the following MWE: \documentclass[% 12pt, journal, onecolumn, twoside, draftcls, letterpaper, ]{IEEEtran} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{positioning} ...
9
votes
2answers
190 views

pgfplots 3d cylindrical coordinate system

I am trying to plot a cylindrical coordinate system using pgfplots. The idea would be to plot the r,theta plane similar to what polaraxis provides, see here. I don't know how to translate something ...