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

learn more… | top users | synonyms

2
votes
1answer
20 views

Draw permutahedron of order 3 with tikz but without sagetex

How do I draw a Permutahedron of order 3 in tikz in 3 dimensions? I'd like to get a readable code which draws a planar projection of a 3D object rather than unreadable (hence unmaintainbale) ...
3
votes
0answers
41 views

Plot 2D slice of a 3D field using pgfplots

I have a CSV data file like the following X Y Z T 0 0 0 12420 0 0 1 2154 0 0 2 54565 0 0 3 54640 . . 0 0 10 53565 0 1 0 12420 . . 0 1 10 53565 . . 0 10 10 53565 1 0 0 2454535 . ...
1
vote
0answers
31 views

Fill enclosed region on sphere

Given the longitude and latitude coordinates of multiple points on a sphere, I can connect them using circular arc segments by using the Arc command in Asymptote: path3 arc(triple c,real r,real ...
20
votes
1answer
669 views

Why isn't the arc drawn on the good plane using tikz-3dplot in Tait-Bryan convention

As some people on tex.sx, I used the tikz-3dplot and changed some commands to use Tait-Bryan convention instead of the default Euler convention. As you can see on the following picture, the rotation ...
5
votes
1answer
199 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} \...
1
vote
1answer
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=...
2
votes
1answer
133 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/...
1
vote
0answers
45 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 ...
2
votes
0answers
62 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 ...
1
vote
1answer
53 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 ...
2
votes
1answer
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). ...
17
votes
1answer
2k views

Drawing 3D crystal lattice with tikz/pstricks

I need to draw 3D lattice of DO3 type (Ni-Mn-Al, DO3) and more complex ones. Both TiKZ and PSTricks packages draw following objects on top of previously drawn disregarding "real" 3D position. For ...
2
votes
2answers
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 (...
1
vote
0answers
63 views

Special 3d body - Steradiant [closed]

The problem is solved. Finished it with inkscape
5
votes
1answer
105 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{...
2
votes
1answer
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} ...
1
vote
0answers
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 ...
1
vote
0answers
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?
5
votes
0answers
67 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 ...
8
votes
2answers
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 ...
1
vote
0answers
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 ...
7
votes
1answer
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 ...
2
votes
1answer
200 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 ...
2
votes
0answers
115 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 (...
5
votes
1answer
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} \...
4
votes
1answer
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{...
0
votes
0answers
49 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 ...
0
votes
1answer
80 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 ...
0
votes
0answers
77 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 ...
0
votes
0answers
46 views

Spherical shell

I'd like to draw a figure like this using Tikz, anyone can help me?
11
votes
1answer
436 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-...
2
votes
0answers
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: \...
5
votes
0answers
252 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} \...
6
votes
1answer
204 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} \...
1
vote
1answer
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?
3
votes
1answer
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,...
2
votes
0answers
73 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, ...
381
votes
57answers
103k 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 ...
4
votes
2answers
691 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: \...
2
votes
0answers
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 ...
1
vote
0answers
105 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 ...
3
votes
2answers
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-...
2
votes
1answer
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. \...
0
votes
0answers
100 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):
43
votes
8answers
21k views

What is the easiest way to draw 3D cube with TikZ?

I'm trying to find the easiest way to draw a 3D cube (it's for my UML diagram) with TikZ. Could you please give an example? Like this:
5
votes
1answer
810 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,...
5
votes
1answer
668 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} \pgfplotsset{colormap={...
9
votes
6answers
5k views

Draw an aircraft with Tikz

I want to draw a plane using the Tikz tool. You will find, attached, a screenshot.
3
votes
0answers
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 ...
4
votes
3answers
908 views

Plotting matrix image data

I have data from infrared measurements in a file with 194 rows and 194 columns, each value representing the temperature at a certain pixel. As the image from the camera does not look nice, I would ...