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

learn more… | top users | synonyms

5
votes
1answer
372 views

Stereographic Projections

Take the unit sphere in the three dimensional space. A plane through the half of the sphere perpendicular to the vertical axis. Pick a point in the plane and draw the line which joins it with the ...
5
votes
1answer
308 views

How can I create simple 3D models?

I would like to reproduce the following image, but in addition labelled with "Wheelbase $w$" and "Track $t$". (Wikipedia image source) I've tried my best with pst-solides3d, but the result is much ...
5
votes
2answers
72 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 ...
5
votes
1answer
297 views

How to produce a 3d surface plot by rotating the 2d plot of a function

What I want to do is to produce a 3d plot of a surface of revolution. So far I have achieved the following code... \documentclass[border= 5mm]{standalone} \usepackage{pgfplots} ...
5
votes
1answer
466 views

How to draw this picture in 3D (TikZ)

How to draw this picture in 3D (TikZ)? \documentclass[tikz,border=2mm]{standalone} \usepackage{tikz} \usetikzlibrary{calc,3d} \begin{document} %%%%%%%%%%%%%%%%% \begin{tikzpicture} ...
5
votes
1answer
774 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 ...
5
votes
1answer
672 views

Some extensions to pst-solides3d

I asked this set of questions (actually 2 of the 3 below) on the PSTricks mailing list a couple of days ago, but have since heard that Herbert's "to do" list is quite lengthy. So, I'm distributing ...
5
votes
1answer
186 views

Drawing a surface over a nonrectangular domain in asymptote

I use asymptote because of its amazing 3D capabilities. However, when I tried to plot a surface over a nonrectangular domain, I could not do it without getting jagged edges. As far as I know, other ...
5
votes
2answers
856 views

How can i import a 3D SolidWorks Model into my PDF using LaTeX

Acrobat Adobe supports 3D PDFs to be included into LaTeX. I could use another tool to create a PDF and import that PDF into my build, but i would rather use a package o include a solid works model ...
5
votes
2answers
521 views

Disable movie15 movies and U3D graphics for printing

I am using the movie15 package to include movies and U3D graphics into my document. I have it setup so that a PDF reader not supporting U3D will display a static image which I have chosen instead. ...
5
votes
0answers
145 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 ...
5
votes
0answers
148 views

How can I create a 3D Manhattan bar chart? [duplicate]

I have some data which I would like to visualize. This data are 3-tuples of integers: (Threads,Sum,# of occurences) (1,2,20) (1,7,18) (1,100,25) (2,7,15) (4,103,24) I would like to visualize this ...
4
votes
2answers
959 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 ...
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} ...
4
votes
2answers
140 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} ...
4
votes
1answer
81 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} ...
4
votes
2answers
461 views

Drawing a central composite design

Please I would like to draw a central composite design using PSTricks, or possibly tikz. This is the cube with the axes showed below. I have tried pst-3d but this is not easy. If you had an example of ...
4
votes
2answers
94 views

\pgftransformtriangle problem

Why the red square and circle are not set and oriented on the blue points ? \documentclass[tikz]{standalone} \usepackage{tikz} \usetikzlibrary{calc} \def\Azi{30}%30 \def\Alt{20}%20 ...
4
votes
1answer
322 views

Controlling visibility of 3D axes in \addplot3

In trying to use \addplot3 to draw a paraboloid, the domain of which is [-4, 4] for both x and y, originally, the z-axis was sitting behind the surface. I discovered axis on top, but can you get the ...
4
votes
1answer
759 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] ...
4
votes
1answer
480 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} ...
4
votes
1answer
171 views

Surfaces rendered using Asymptote won't layer correctly

Question I recently asked a question here: How to plot a lattice of points on the surface of a torus? Where I have two answers, but both render incorrectly on my machine. They are supposed to look ...
4
votes
1answer
119 views

Asymptote takes too long to render images

I need to include several 3d graphics in a LaTeX document, and decided to use asymptote. However, it seems that rendering takes too long. A document with 20 images takes more than 15 minutes to finish ...
4
votes
1answer
780 views

Navigation system coordinates in tikz-3dplot

I am using tikz-3dplot and trying to represent navigation system transformations. In navigation systems, the orientation of the vehicle axis is given in terms of Roll, Pitch and Yaw. These are ...
4
votes
1answer
124 views

Opacity for pst-3dplot object

How can the opacity of a pst-3dplot object be set to be transparent? I have an example where using opacity or strokeopacity options do not work. I am trying to make an image similar to the following: ...
4
votes
1answer
340 views

Plotting 3D graphs in specified axial direction in tikz

I am a complete tikz noob and just taking snippets of examples to draw my first diagram. To get my head around orientations I am starting with the polarizing microscope example ...
4
votes
1answer
194 views

Controlling Orientation in 3D PGF Plots

Question Why does x-axis pointing right and y-axis pointing into the page appear to be the default? When I found the page in the following link, the answer coincidentally presented the axes exactly ...
4
votes
1answer
277 views

Unordered layers in tikz-3dplot (3d effect)

Short formulation of the question Is there a way to order layers in tikz-3dplot according to their distance to the observer's position? The picture should look realistic in order to give some ...
4
votes
1answer
343 views

Scale Axis in PGFPlots without changing orientation

I'm trying to plot a data matrix using pgfplots and a surface plot. The method described in this question worked well for me: Using pgfplots, how do I arrange my data matrix for a surface plot so ...
4
votes
1answer
500 views

Naming 3D axes in pgfplots

I want to label the axes in a 3D plot with pgfplots. Using the anchors .right of origin and .above origin, I can label the axes as "x" and "y" in 2D with ease. In 3D, the labels must be tweaked to ...
4
votes
1answer
213 views

Axis label placement in 3d plot far out but why?

I want to plot a dataset in a 3D pgfplots graph. It looks like a good start but somehow the label placement is far out. Boiling it down to a MWE did not give me any hints how to get the labels back in ...
4
votes
1answer
977 views

Easy way to do several line styles on one path using TikZ?

I'm drawing a lot of 3D pictures for school using 3D-plot for TikZ. I like it when the lines that are inside or behind an object, eg. the ones that shouldn't be visible to be thinner than the lines ...
4
votes
1answer
343 views

Pgfplots: How to fill area under a curve in a 3d plot similar to \closedcycle in 2d

How can I fill the area under a curve in a 3d plot, similar to the \closedcycle command in ordinary 2d plots? Applying this command does a filling which is not rotated. Minimal working example: ...
4
votes
1answer
110 views

How to do a surface with pstricks using data from a surveying?

For each point of the grid a have the coordinates (X,Y) and height (Z), like: X 1 2 3 1 2 3 1 2 3 Y 1 1 1 2 2 2 3 3 3 Z 2 1 0 4 5 1 8 4 3
4
votes
1answer
541 views

How to rotate around arbitrary axis in XYZ coordinate system

I am drawing the cartesian coordinate system in XYZ coordinate system and would like to illustrate a point in the 3d space by drawing the projections on each plane. A simple version would be as ...
4
votes
1answer
83 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 ...
4
votes
1answer
336 views

PGFPLOTS 3d box line for Z axis not being drawn

The vertical 3d box line for Z axis is not being drawn. If I make the grid lines dashed, the line is drawn, but also appears dashed, as the grid lines. To me, it looks that the line is in fact drawn, ...
4
votes
0answers
339 views

3d arrows in tikz, or arrows that fit perspective

I'm trying to draw a 3d arrow in a 3d box (well lots of them actually). I've got the 3d box sorted, but the arrow doesn't look quite right. I've set up my axes/projection with: ...
4
votes
0answers
179 views

How to draw this 3D H-layout recursive tree with Tikz? [closed]

Background: This is an extension problem from my last post How to draw the recursive H-Layout tree using Tikz?. The (2D) H-layout tree is actually from the VLSI layout problem in computer science. I ...
4
votes
0answers
166 views

Is it possible to create red/blue 3d color in LaTeX?

Is it possible to create a red/blue 3d effect in LaTeX using a preexisting package? If not, would anybody have any insight into how to go about this? I am planning to make a beamer presentation on 3d ...
4
votes
0answers
506 views

How to draw a 3d cylinder using TikZ-3dplot? [duplicate]

I'm trying to draw a 3d cylinder using TikZ-3dplot, but the cylinder walls are not aligned properly (as you can see in the image). Does anybody knows what am I doing wrong? \documentclass{article} ...
4
votes
0answers
233 views

3d axis label ovelapping [closed]

I'm using matlab2tikz to generate the tikz code for my figures. When compiling the document with the figure code as below, I get an ovelapping with the axis label y and z. Here is what I've got: ...
4
votes
0answers
256 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 ...
4
votes
0answers
801 views

Drawing tri-axial ellipsoid and intersecting it with a sphere [closed]

I would like to draw a tri-axial ellipsoid (that is, an ellipsoid with three different main axes). I'd also like to draw a sphere in the same picture, showing the curves of intersection between the ...
3
votes
1answer
654 views

Create 3D heatmap desity plot using TikZ

My question is very similar to "Create heatmap with PSTricks or TikZ", but this time in 3D. So I have tabulary data as follows: x | y | z | value 1.2 | 1.3 | 1.4 | 1.20 0.2 | 0.3 | 0.4 | 3.20 ...
3
votes
1answer
309 views

Draw an implicitly defined surface in 3D

I want to visualise the following set as a subset of [0,\infty)^3: What's the most efficient way to do this? I am thinking of either TikZ or psTricks.
3
votes
2answers
550 views

How to pick a plane inside a cube in pst-3dplot?

I want to pick and highlight a diagonal plane of a cube. I do not want to color it but use some kind of fill-style so that I can print it on a black and white printer. The following is my solution ...
3
votes
1answer
119 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} ...
3
votes
1answer
318 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} ...
3
votes
1answer
289 views

Asymptote 3D viewable in Evince/Okular

Is there a way to get Asymptote 3D figures in a PDF viewable in Evince/Okular? All what I can get is a very bad rastered image in place of my figure. I don't care about the interaction with the 3D ...