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

learn more… | top users | synonyms

14
votes
4answers
559 views

How to 3D rotate figures in display

I have a bunch of 2D figures which I like to use latex to display them in a row (side by side). Since the number of the figures is a lot I cannot show them all horizontally. For this I would like to ...
4
votes
2answers
1k views

Drawing conic projection with TikZ

I struggle with drawing a sphere that has a cone set on top of it. What I'm trying to get is something like this: The left cone touches the sphere on one latitude and the right one intersects the ...
11
votes
1answer
4k 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 ...
3
votes
1answer
318 views

Simplest way to draw the 3d-points in the set {0,1,2,3,4}^3 [duplicate]

Possible Duplicate: Tikz realistic 3D grid I want to draw a finite set of 3d-points. I have been looking at examples on the web, but I have not found anything to do this (the tricky part ...
3
votes
1answer
343 views

Using 3dplot package in Beamer

I'm trying to make a 3d plot by adapting the one from the beamer gallery. I'm using LyX 2.0. I keep getting an error that LyX can't compile the file because it can't find \begin{document} ...
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 ...
8
votes
3answers
999 views

Vector graphics in LaTeX

I need to add some vector graphics to my LaTeX files. I would like to end up with good looking wireframes, such as in Hatcher's book "Algebraic Topology" (for an example take a look here). Which tools ...
11
votes
2answers
1k views

3d axis and polyhedron with line segment towards origin

I would like to make a 3d plot containing the 3d axis and a convex polyhedron or better a Dodecahedron on the positive side for which one of its boundary edge points on its top is annotated e.g. ...
6
votes
1answer
3k views

3D surface plots in TikZ

I need to plot a surface plot using TikZ. I have the (x,y) coordinate and the corresponding function value in a table form. I have not done 3D plots before in TikZ and hence I would appreciate any ...
1
vote
1answer
384 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 ...
7
votes
2answers
3k views

Drawing 3D cylinder

I need to draw a lot of 3D cylinders with different dimensions. Has anyone maybe already defined a command like \3Dcylinder{x}{y}{z}? I found 3D bodies in TikZ and tried the third answer. But I don't ...
7
votes
2answers
615 views

3D TikZ lines on the perimeter of a circle

I'm just learning TikZ, I've done a few 2D images and I wanted to make a 3D wire frame of the Hubble telescope. The body of the telescope is basically a pair of tubes, the front one slightly narrower ...
9
votes
2answers
758 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 ...
12
votes
2answers
728 views

Text placed in pespective on 3D object

I am experimenting with Tikz to include graphics in my LaTeX documents. I have made a few 2D and 3D diagrams. One of the diagrams contains a 3D pyramid. I want to place text on the front and side of ...
4
votes
0answers
267 views

Triangulated Toruses in Sketch [closed]

I want to be able to use sketch to generate an image like this: I am able to get the torus okay using nested sweeps as demonstrated in the tutorial, but my attempts to draw the diagonals using ...
8
votes
2answers
1k views

3d Image using tikz?

I have attempted to draw a sphere between two planes that are defined as follows. a:= 2x - 2y + z + 2 = 0 and b:= 4x - 4y + 2z - 4 = 0 I know that the line is perpendicular to the two planes are ...
13
votes
2answers
2k views

TikZ: How to draw a sine curve in 3D?

I know how to draw a sine curve in TikZ and I know how to rotate it in the plane of the paper. I would now like to draw a sine curve that oscillates in the depth of the paper - to give the impression ...
14
votes
1answer
854 views

Drawing 3d circuit diagram

I've started using tikz only few weeks ago and find it utmost useful todraw beautiful picutres.But now i'm a bit stuck on a 3d circuit which should resemble the physical structure and hope the experts ...
19
votes
2answers
1k views

How can I draw a vector field (quiver plot) on a surface in 3D?

I'd like to draw a vector field on a torus using PGFPlots and/or TikZ. I managed to do it using ePiX, based on the file decorate.xp from the example gallery, but then I have to do z-sorting by hand, ...
13
votes
1answer
2k views

TikZ, 3d library and circle fading

I'm using the 3d library to put a circle on the z=0 plane, and other things. I'd like to fade this circle radially, but the result isn't as I would expect because the fading is not proportional to the ...
9
votes
2answers
794 views

Tikz : how to control length in 3D pictures?

I tried to draw a sphere with tikz with isometric projection or oblique projection (perpective cavalière in french). For oblique projection you have to put a scaling factor (scal < 1) for distance ...
5
votes
1answer
884 views

Is there any way to remove mesh lines completely in a pgfplots faceted 3d plot?

I can not seem to find the way to remove the lines in the surface mesh in a 3d faceted plot. I need a solution that does not use the "shader=interp" (i.e. gradient filling) so that the faces are ...
9
votes
2answers
716 views

Is lualatex supposed to be a superset of pdflatex? (regarding production of PDF)

In other words, is it a bug if lualatex cannot compile a document that pdflatex can? Based on the answers to this question How to expand TeX's "main memory size"? (pgfplots memory ...
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} ...
6
votes
1answer
608 views

Extract coordinates from 3D point

How do I extract coordinates from a three-dimensional point defined when using tikz-3dplot? I would like to perform some calculations on these (more specifically a cross-product of two vectors), but ...
37
votes
1answer
2k views

Plotting several 2d functions in a 3d graph

I am trying to reproduce a similar figure to the following one. My first guess was to use pgfplots but I didn't find any example that I could use as a starting point. At the moment I am unsure if ...
35
votes
1answer
2k views

How to draw spherical geometries with TeX?

I am working in the field of Astrodynamics and have to do many computations using spherical geometry. To visualize some of the concepts I would like to prepare drawings of things like spherical ...
24
votes
1answer
1k views

Perspective transform

The following piece of eye candy: was produced using the following code: \documentclass[a4paper]{article} \usepackage{tikz} \usetikzlibrary{shapes.arrows} \usetikzlibrary{shadows.blur} ...
4
votes
1answer
1k views

PDF file containing 3D object is not included correctly with \includegraphics

I have a PDF file, containing a 3D object in PRC format. I try to include this into a LaTeX document to be compiled with pdflatex, with the simple source below: \documentclass{minimal} ...
11
votes
2answers
1k views

How to plot three-dimensional polar functions with pgfplots

I would like to plot the following functions with pgfplots: I know how they are defined: \sqrt{r}\sin\frac{\theta}{2}, \sqrt{r}\sin\frac{\theta}{2}\sin\theta, \sqrt{r}\cos\frac{\theta}{2}, ...
12
votes
1answer
1k views

3D Arrow Tips for TikZ/pgfplots

I really like the arrow tips shown in How to get rid of the viewer's (incorrect) axes in an Asymptote 3D graphics and am wondering how to produce this in pgfplots: I admit I have not tried ...
11
votes
2answers
1k views

How to get rid of the viewer's (incorrect) axes in an Asymptote 3D graphics

I have an Asymptote graph of a 3D surface (code below) that I export into 3D PDF file (containing PRC). I include nice axes with LaTeX labels on them, but in addition to these the viewer displays very ...
4
votes
1answer
811 views

How to remove coordinates in a 3d plot using pgfplots

I would like to know how to remove coordinates in an addplot3 surf plot. Here is a simplified example: \begin{tikzpicture} \begin{axis}[clip=false,view={45}{45},grid=major] ...
7
votes
3answers
2k views

Drawing Axis Grid in 3D with Custom Unit Vectors

I am trying to adjust the unit vectors for each of the axis, and draw a coordinate grid. I can get it to work without specifying the unit vectors, of specifying it as: x={(1.0cm,0.0cm)}, ...
5
votes
2answers
967 views

pgfplots: three dimensional plot with one variable as exponent?

In want to draw this function with pgfplots: f(x,y) = 1-(1-(1+y)^(-x))/x*y. When compiling, I get some error message about z buffer reoderings. I already played around a bit and ist seems to me the ...
35
votes
2answers
4k views

How can I draw an arc from point A -> B on a 3D sphere in TikZ?

I'm basing myself on http://www.texample.net/tikz/examples/spherical-and-cartesian-grids/ and now I need to add a arc from point P to Q. What I was able to get so far: ...
7
votes
2answers
1k views

Plot TikZ items with respect to 3D position, not the order of appearance in the code

I have a big bunch of polygons plot in 3D with TikZ. The code is generated by a program, so it's hard for me to print the "foreground" polygons last, so that they are well printed in space. In other ...
31
votes
3answers
14k views

3D bodies in TikZ

Is there like a library that has default geometric figures like the ones shown below. Am not acquainted yet with 3D diagrams in TikZ.
3
votes
1answer
1k views

3D plots with pgfplots

I am trying to plot 3D plots with pgfplots. I have started with an example from documentation: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usepackage{pgfplots} % ...
4
votes
1answer
500 views

Relative positioning in 3D

I am trying to position a node in 3D according to the (x, y) coordinates of a node previously defined on another z level. However, I can't figure out how to make it work: \documentclass{article} ...
19
votes
2answers
3k views

Draw a prism in TikZ or PSTricks

Is there a way to define an polygon in plane and output an (orthogonal) prism with that polygon as its base? The prism should be drawn in 3D in parallel oblique perspective with controllable height h, ...
9
votes
2answers
958 views

pgfplots: two labelings for a single 3d plot

I am trying to add a second labeling to my 3d plot, but I can not figure out how to do it correctly. The idea is to add a second axis without any grid, ticks, lines and nothing but labels and overlay ...
3
votes
1answer
796 views

Embedding 3D PRC model in LaTeX with custom views visibilities (movie15)

I'm using the movie15 package to include 3D graphics in my LaTeX document. I have model in PRC file format (generated by Asymptote). You can find all files of interest + my pdf output here: ...
1
vote
1answer
1k 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 ...
2
votes
2answers
381 views

3dplot in Beamer crop and ticks problem

I'm new to pstricks, and I've been struggling with several issues using it with beamer. So my problem is that I'm trying to show a 3D plot in a beamer frame. However, for some reason, that I can't ...
9
votes
2answers
850 views

pst-solides3d and hidden lines

I am trying to draw figures with pstricks for the first time. Unfortunately, I am struggling with it. I was trying to draw a pentagon-cone and an octahedron using pst-solides3d, but it draws some ...
19
votes
2answers
4k views

Drawing a circle on a non xy-plane with TikZ

Say I'm drawing a 3D picture. Now I would like to draw a circle, perspectively correct, on the yz-plane, but TikZ does not seem to be capable of this. All one can do is drawing circles on the ...
27
votes
2answers
4k views

Draw a bivariate normal distribution in TikZ

For a small class I want to draw a bivariate normal distribution and show where the means from the two variables meet in the space. Has anyone done this in TikZ?
46
votes
2answers
8k views

Drawing simple 3D cylinders in TikZ

I'm trying to draw some simple 3D objects in TikZ. I can do spheres and cuboids okay, but I'm struggling with circular cylinders: When rotating the scene (I use tikz-3dplot for this), the end faces ...
0
votes
1answer
332 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 ...