# Tagged Questions

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

44 views

### tkz-euclide but in 3d?

I just recently found the package tkz-euclide and I think it's amazing. I was wondering if there is a similar package to work in 3d. And if not what is, in your opinion, the best package for 3d ...
61 views

### Using equation/function in 3D TikZ

I have a subset in 3D, than has the restrictions: 1<=x<=2, 1<=y<=2, 1<=z, 2x+2y-z<=5. So far I have just plotted the point, where I restrict x and y. How do i plot the last ...
52 views

### Issue with 3D PDF created with LaTeX+media9 in mobile app

I'm using LaTeX with media9 (MikTeX 2.9) to create 3D PDF. The resulting PDF document can be displayed in Adobe Acrobat 11 on Windows. However, I can't load the same PDF in Tech Soft 3D PDF Reader ...
47 views

### Adding 3d axis to a 3dplot figure

I have 3D surface plot obtained from matlab. I would like to add axes to it with labels using latex. What is the proper way of doing this? Or do I have to just guess and draw lines (trail and error). ...
85 views

### Plotting two 2D-plots in a 3D plot using pgfplots

I am trying to create a 3D plot similar to a standard xyz coordinate system by using pgfplots. I want to plot two 2D plots one in x1-y and one in x2-z plane, similar to the following illustration (...
102 views

### How to rotate a circle around two axes?

I am trying to rotate a circle around two axes. The circle should be placed perpendicular to the red vector. Code: \documentclass[a4paper]{article} \usepackage{tikz} \begin{document} \begin{...
42 views

### 3D plots in rectangular coordinates

How to draw these 3D plots using LaTeX (tikz,pstricks,asympote, ...) : The half sphere x^2+y^2+z^2=1 | x > 0 x^2+y^2+z^2=1 | z < -3/5 x^2+y^2+z^2=1 | 3/5 < z < 1 The dome x^2+y^2+z^2=...
75 views

### How to create a tikz picture, with a non-infinite distance viewpoint

Hi I am trying to create a planar tikzfigure, but would like to tilt the plane. Most advice I could find gives a perspective that has the viewpoint in infinite distance. \documentclass[final]{beamer} ...
22 views

### 3D Plot of Surface w/ Axes, Showing Intersections of Axes w/ Surface

I would like to be able to plot the graphs of functions of two variables, and I'd like the resulting figures to look like any of those shown below. In particular, I want: the x-, y-, and z-axes to ...
40 views

### How can I erase the intersection between cube and cylinder within a drawing?

Is there a possibility to define a volume (i.e. cylinder) for erease this part of a 3D-drawing consisting of several elements?
66 views

### Export matplotlib triangle mesh to an asymptote surface

This is a followup of a question of mine at stackoverflow partially reproduced here for clarity. I'm playing a bit with scikit-image marching cubes algorithm. Here is a simplified version of the ...
63 views

### Special 3d body - Steradiant [closed]

The problem is solved. Finished it with inkscape
259 views

### Plotting chaotic maps

I want to use PGF/Tikz to plot the points that satisfy the following recurrences: \begin{align} q_{n+1}&=q_n+p_{n+1} \\ p_{n+1}&=p_n+K\sin(q_n) \end{align} $p$ and $q$ are always taken ...
11 views

### surface plot — end points get connect connected (tikzpicture) [duplicate]

It's the first time I'm asking a question here, but I've been using this side a lot on my way to get my head around Latex. I am currently working on something which I can't seem to figure out: I am ...
56 views

### pgfplots 3D surface broke

I'm a newcomer to LaTeX and pgfplots. And now I found a problem while I was using \addplot3. It seems that the image behaved abnormally on perspective.This is the image generated. For reference I ...
114 views

### How to improve the 3D effect of this plot? (TikZ and pgfplots)

I have been experimenting with plots for a particular data series I have generated. The code below plots a surface around a polar axis reading in data from a file. The file can be downloaded here (...
198 views

### 3D PDF cycling between views animation

I'm creating a 3D pdf with latex and movie15 and I added some views for my u3d object... Then I added turntable.js to manually change a view of the object... till now everything is fine It is ...
92 views

### tikz 3d graph with circular domain

I have got a pretty simple function to make a 3D graph of. The function is defined as: Plotting this was not that much of a problem with the follwing code: \documentclass[border=10pt]{standalone} \...
132 views

### 3D PDF : howto convert VRML with colors to U3D or PRC?

I'm using media9 package and it is great! What I'm trying to get is to have a 3D PDF coming from one or more VRML objects. I cannot find anymore the DeepExploration sw http://www.righthemisphere.com/...
48 views

### Set the color to the sides of cylinder and exterior ring/hollow cylinder

I'm a newbee to tikz and from tex.stackexchange.com I tried a lot of resources. But I didn't get the initial help to solve my problem by myself. Maybe you can help me. Here is my problem: I want to ...
75 views

### pgfplots: percentage in matrix plot

I'm trying to draw a matrix plot with the shown values in percentage. I already tried: nodes near coords = {\pgfmathprintnumber\pgfplotspointmeta\%} Unfortunately this didn't work out. Here is my ...
76 views

### 3d plot with reflected arrows in “planes” using TikZ

I'm trying to reproduce this picture in TikZ, but I don't know how to get those 3D "planes" of arrows shown. Here is my attempt so far, which isn't remotely close to what I want (and mostly ...
44 views

### Spherical shell

I'd like to draw a figure like this using Tikz, anyone can help me?
219 views

### 3D Shaded diamond with intersecting plane pt 2

This code is building from the code found here. I am trying to get these plots: Here is what was already done in the previous post: \documentclass[tikz,border=3mm]{standalone} \usetikzlibrary{...
58 views

### How to embed Asymptote 3D objects in Latex code when using Overleaf?

This is my MWE: \documentclass{minimal} \usepackage[inline]{asymptote} \begin{document} Test. \begin{asydef} usepackage("bm"); texpreamble("\def\V#1{\bm{#1}}"); \end{asydef} 2d figure: \...
430 views

### How to make this 3D shape (ellipsoid) more realistic?

So I am trying to draw an ellipsoid, this is what I have so far: How can I make it more realistic (by improving the shadowing)? \documentclass{article} \usepackage{tikz} \usepackage{pgfplots,tikz-...
201 views

### Cylinder with specific orientation

I realize there are a couple of questions about cylinders in Tikz, but I haven't figured out how to add them to my image. I have something like: \documentclass{standalone} \usepackage{tikz} \...
96 views

### 3D figures in LaTeX

Can you advise me some good packages for drawing this one stuff: And I'd like to ask for future, what is the most effective method for drawing 3D plot?
108 views

### Two windows on a roof

I'd like to use tikz 3d library, if possible, to easily draw this two windows on the roof. I read the posts concerning this library but I didn't understand how to do this. \documentclass[tikz,...
72 views

### how to have transparent background in 3d plot of asymptote?

how to have transparent background in 3d plot of asymptote? Any idea? Suppose we save the output in png format, we can have transparent background in 2d plot of asymptote using the following, ...
197 views

### Complex 3D drawings with tikz

I've already produced the following picture by means of TikZ. To do it, I modified the Sudoku example found here as follows: \documentclass{standalone} \usepackage{xcolor} \usepackage{tikz} \...
106 views

### How to make 3D ribbon plots in PGF/TikZ

I'd like to make a bunch of 3D ribbon plots in TikZ or PGF, I've taken a look around and I've found no hints on how this might be accomplished, is there a simple way to do this? I'd settle for a 3D ...
250 views

### Drawing a plane inside a sphere in TikZ

I have the following code, which is basically a modified version of the sphere example from TeXample.net. \documentclass[crop,tikz]{standalone} \usepackage{pgfplots} \usetikzlibrary{calc,fadings} \...
102 views

### How to improve the 3d effect of sphere in asymptote?

I try to use asymptote to plot the lattice. But the 3d effect of sphere is not so good. I need to use opacity(0.3) function, since I need to plot inside the sphere other elements. Currently, it looks ...
322 views

### Drawing a plane in tikz in 3D with a sine wave

I am trying to draw a plane with the front edge having a sine wave. Using the code from this example I can draw it by something like \documentclass{standalone} \usepackage{tikz} \usepackage{tikz-...
61 views

### Save 3D point for later use in TikZ

I want to save a three dimensional point for later use in \sfDefPoint. I am trying to write a command that lets me draw a line (and its projections) between two points using a simple syntax (e.g. \...
96 views

### Any code templates to draw 3D field lines inline (no pun intended)?

I'm particularly interested in magnetic and electric field lines such as showed in this picture (from http://www.grasshopper3d.com/forum/topics/creating-a-3d-field):
53 views

### How to fill an area outside spheres?

The problem is the same as explained in my previous question: How to fill an area outside circles?. The only difference that now I need to fill the green area in three-dimensional space, i.e., the ...
803 views

### how to draw parallelepiped and cube with latex?

How can I draw these solid figures with LaTeX? \begin{tikzpicture} \pgfmathsetmacro{\cubex}{5} \pgfmathsetmacro{\cubey}{1} \pgfmathsetmacro{\cubez}{3} \draw[red,fill=yellow] (0,0,0) -- ++(-\cubex,0,...
101 views

### Drawing 3D surfaces with triangles (to show curvature effects)

I'm looking for a way to draw 3D surfaces in LaTeX with triangles on them to show the sum of angles being >, =, or < 180 degrees, exactly as in this photo . I'd just like to do it myself, but I'...
112 views

### sphere with waves on the surface

I am working on surface waves on a curved surfaces and I need to draw a 3D sphere with sinusoidal waves on its surface, waves should start from the top and end in bottom, I have no idea how to do it. ...
121 views

### problem at drawing 3D square for right angle with tikz, pgfplots

I'm drawing a 3D square for right angle following http://tex.stackexchange.com/a/163384/14423. That works fine, but I try filling that square and the results isn't the spected: \documentclass{memoir} ...
216 views

### Drawing right ascension and declination on the celestial sphere

I am trying to draw the celestial sphere and can't figure out how to draw arcs around the outer surface of my sphere. I want to draw a red arrow starting from the vernal equinox towards right under ...
117 views

### tikz, pgfplots, different colors for negative/postive z-values in addplot3

I want to color all points with negative z-values in the plane below red and all with positive z-values cyan!80. I searched for an hour now, but have no clue how to do it. Any suggestions? \...
167 views

### TikZ — Intersection line of a cone and a helicoid, too many lines

Here is the image I'm working on: it's an archimedean spiral, shown as an orthogonal projection of an intersection line of a cone and a helicoid. \documentclass[12pt, border=0.5mm]{standalone} \...
242 views

### How draw a cylinder with 3 balls?

I need to draw a cylindrical box with three ping-pong balls, as below But I can only do the cylinder. I can't get the balls in: \documentclass{article} \usepackage{graphicx} \usepackage{tikz} \...
59 views

### pgfplots 3D plots size versus 2D plots size

I wanted to create a 3D plot but it's not possible for me to set the right size. Should I try out until I find the right values for height and width for the 3D plot or is there an easy way to find ...
302 views

### Render stl files in asymptote

I want to draw a propeller in 3D for my fluid dynamics lecture. I found a 3D model of a propeller that can be downloaded as a stl file. I found a python library numpy-stl that can read and draw, with ...