# Tagged Questions

1answer
79 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 ...
1answer
71 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 ...
2answers
222 views

### addplot3 [area plot] filling the wrong area

using some saved data, i use (The data file cane be download from pX.txt where the first column is the x and at each iteration, I plot the other columns with respect to the first column) ...
1answer
463 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 ...
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 ...
0answers
112 views

### Making a black hole and information

I would like to make the picture similar to the following to represent information in a black hole horizon and black hole inside the sphere in tex. I can make a sphere but making the discrete bits ...
0answers
176 views

### 3d graphics/diagrams [closed]

Is there a convenient way to create a 3d graphic/diagram like the following in LaTeX (e.g. with tikz)? I'm aware that convenience is a point of view, however I would describe myself as a newbie to ...
3answers
810 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} ...
1answer
319 views

### 3D arc in Asymptote

I constructed the technical figure embedded below. I wonder how to draw red arc to denote angle $\alpha$ between two blue vectors. (Actually, I add the desired output using Inkscape.) The Asymptote ...
2answers
793 views

### Drawing the contour of a 3d torus

I would like to draw a torus, like the one on the question How to draw a torus, with a 3d package. I would like to avoid drawing the torus in 2d with inkscape (or directly with tikz) because I will ...
2answers
239 views

### Position shift when adding label to 3D asymptote diagram

I have this strange issue with 3d asymptote diagrams. Without labels they act as a normal figure, but when I add label, the diagram moves to the edge off the page... MWE: ...
1answer
845 views

### Help creating solid cylinders along a path in Tikz for crystal lattice diagram

I am trying to draw a diagram using Tikz that will show the crystalline lattice structure of diamond. It should look like the following illustration (reference). I have managed to figure out the ...
0answers
306 views

### Drawing specific curves/planes [closed]

I want to submit a paper and the only thing that's left to do is to add some graphics. My deadline is on Wednesday/Thursday. What I want to do is some basic curve/plane drawings. Here is an image: ...
1answer
1k 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 ...
2answers
2k views

### Making a labeled Klein bottle using TikZ or pgfplots?

I'd like to be able to draw the following cell complex structure on the (three-dimensional embedding of the) Klein bottle using LaTeX. I am pretty pleased with my hand-drawn rendition, but LaTeX is ...
0answers
259 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 ...
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} ...
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 ...
1answer
662 views

### plot 1d curves in 3d space with nice looking intersections

I am trying to draw multiple colored one-dimensional parametric curves in three dimensional euclidean space. The curves themselves do not intersect in 3d, but ...
1answer
1k views

### Asymptote generated 3D raster image

Consider the following minimal Asymptote 3D example: \documentclass{article} \usepackage{filecontents} \usepackage{asymptote} \begin{filecontents*}{testfile.asy} import three; ...
5answers
4k views

### Drawing 3d diagrams

I would like to use a few simple 3d diagrams in my LaTeX document. They primarily consist of polyline segments in 3d, along with an occasional simple surface (e.g. paraboloid). There are two ...