# 3d's questions - English 1answer

544 3d questions.

### 4 Stereographic Projections

1 answers, 1.289 views graphics 3d asymptote
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 ...

### 2 3d plot with absolute value function with pstricks

1 answers, 49 views pstricks plot 3d pst-solides3d
I would like to reproduce the plot given in picture. The function (with known a and c) is a(x^2+y^2+z^2)+(1-a)(abs(x)+abs(y)+abs(z))=c where 0<a<1, c>0 How can I do this?

### 9 Using TikZ spy in 3D

2 answers, 485 views tikz-pgf 3d spy
I am trying to use the spy library to magnify part of a 3D TikZ drawing. Consider this minimal example: \documentclass[tikz,margin=0.5cm]{standalone} \usetikzlibrary{3d,spy} \begin{document} \begin{...

### Positioning the 3D axes

How to position the 3D axes besides the centre of the screen? \begin{tikzpicture} % The axes \draw[->] (xyz cs:x=-1.5) -- (xyz cs:x=1.5) node[above] {$x$}; \draw[->] (xyz cs:y=-1.5) -- (xyz cs:...

### How to draw a triangular prism in latex?

1 answers, 58 views diagrams 3d
How do draw a right triangular prism in latex in this point of view? And moreover, how can I add the right angle label like this? Finally, how to add lines in the same figure? Thank you so much

### Adding planes and lines to a 3D plot using tikz

1 answers, 51 views tikz-pgf 3d draw
I currently have the following code and result. \documentclass[]{article} \usepackage{tikz} \usetikzlibrary{3d} \begin{document} % Draw a 3D coordinate system \begin{center} \begin{tikzpicture}[x ...

### 2 Mimick surface plot

1 answers, 67 views pgfplots 3d
I am trying to illustrate limits in R^2 to my students. In doing so I created the following figure in Geogebra Where the idea is that when you approach origo along the black and purple lines you ...

### 8 Asymptote 3D graphics: Convert prc-file to 2D file format

1 answers, 266 views graphics 3d asymptote convert
I have a question regarding Asymptote, which I recently started to use to make some simple drawings. I am facing some problems when I try to create 2D output files. I am working in a software company,...

### 1 tikz: How to create such a picture with translucent 3D plates

1 answers, 54 views tikz-pgf 3d
I am trying to recreate the following picture. I tried to recreate this using Mathcha.io but I don't get the right translucent 3D look on the coloured plates. Is there a way to recreate this picture?

### Slow pgfplot code

0 answers, 49 views tikz-pgf pgfplots 3d
By stealing (Draw closed section of sphere using pgfplots) and borrowing, I was able to draw the plot I wanted. However, it adds a lot to the compilation time (on my computer and online), making it ...

### 1 Rotate 3D plot to top down view

1 answers, 53 views tikz-pgf pgfplots 3d
I have a function with 2 parameters that, when plotted in 3D, is rotated in such a way that a part of the surface is hidden: \begin{tikzpicture}[ declare function={ func(\x, \y) = ((\x<10) * (\...

### 2 3D Network Perspective

1 answers, 72 views tikz-pgf 3d
I would like to create an image with a 3d side view style like the one below. My objective is to demonstrate the network architecture with an example input and example output image. How do I get a ...

### 3 TikZ, place cylinder in 3D space

1 answers, 72 views tikz-pgf 3d tikz-3dplot
In TikZ manual, cylinders are said to be "a 2-dimensional representation of a cylinder". The result is that they can be rotated only in a plane. This is my code: \documentclass[tikz,border=5pt]{...

### 5 How can I draw development of a polyhedron?

1 answers, 959 views tikz-pgf 3d
I have some pictures http://www.mediafire.com/view/?58gs6ye0zf149fv How can I draw development of polyherons in Tex? Please help me.

### 1 How to draw the Cayley diagram of $A_{5}$?

2 answers, 124 views tikz-pgf graphics 3d
It is so complex that I don't even know how to deal with it? Any idea? Thanks so much.

### 2 TikZ, use calc library in 3D space

1 answers, 92 views tikz-pgf 3d
The TikZ library calc can handle angle values: \documentclass[border=2mm,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows.meta,calc,intersections} \begin{document} \begin{tikzpicture} \...

### 3 TikZ, drawing rectangle in 3D space

2 answers, 69 views tikz-pgf 3d tikz-3dplot
Partly referring to the code of a previous question, this is an attempt to fill with color a rectangle in the 3D space. The plane has the points c and d as its extreme vertices: \documentclass[border=...

### 2 TikZ, node and expression do not coincide

1 answers, 51 views tikz-pgf 3d tikz-3dplot tikz-node
In this code, related to a previous question, \documentclass[border=2mm,tikz]{standalone} \usetikzlibrary{arrows.meta,calc} \begin{document} \begin{tikzpicture} \draw[->] (-3,0,0) -- (3,0,0) ...

### 2 TikZ (3D) changing behaviour with or without nodes

1 answers, 59 views tikz-pgf 3d tikz-3dplot
What follows was tested with tikz-3dplot, but it could also regard the 2D TikZ as well. This code: \documentclass[border=2mm,tikz]{standalone} \usepackage{tikz-3dplot} \usetikzlibrary{arrows.meta} ...

### 2 TikZ-3dplot and rotation of coordinates

2 answers, 90 views tikz-pgf 3d tikz-3dplot
In the tikz-3dplot documentation (page 15) \tdplotsetmaincoords{a}{b} is suggested to rotate the system of coordinates. But it apparently realizes rotations only about the x and z axes. How to ...

### 1 TikZ, draw a 3D intersection of planes

1 answers, 97 views tikz-pgf 3d tikz-3dplot
A first example of intersection between two planes is already shown in this answer. I would like to use TikZ. I already tested that code, but it has a different axes layout (the axes in the linked ...

### 2 tikz/pgfplots - Plotting 3D surface with sphere

1 answers, 107 views tikz-pgf pgfplots 3d python
I am trying to solve the following problem: First I would like to produce a surface plot of a function of two variables (in this particular case this surface has a saddle shape). Then I would like to ...

### 1 TikZ, 3D multiple layers with orthogonal line

2 answers, 94 views tikz-pgf 3d tikz-3dplot
Using the TikZ 3D library, I would like to reproduce the following image: Some details: the planes have an arbitrary angle; they are parallel and opaque; the arrow segment is orthogonal to the plane ...

### 1 “Nice” 2D ellipse in 3D space

2 answers, 64 views tikz-pgf 3d
I would like to draw a "nice" 2D ellipse in 3D space using tikz. I'm using the tikz packages and tikz library arrows.meta \usepackage{tikz} \usetikzlibrary{arrows.meta} This is my code so far: \...

### 5 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 ...

### 3 PGFPlots scatter graph point meta

2 answers, 418 views tikz-pgf pgfplots 3d nodes-near-coords
I want to draw a 3D graph that uses point meta = explicit symbolic for the nodes near coord, and I also want to use meta = explicit symbolic (or something similar) for coloring the blocks in function ...

### 5 3D heatmap in TikZ using data from .txt file

1 answers, 139 views pgfplots 3d
I'm trying to create a 3D heatmap using data from a .txt file in the following format (tabs instead of spaces): data.txt x y z data 0 0 0 1.0 0 0 1 1.6 0 0 2 13....

### 3 Plot 3d function restricted by non-rectangular area

1 answers, 76 views tikz-pgf 3d
I am trying to recreate the following figure in tikz However, being a seasoned user I will not ask someone else to recreate the entire figure. However, how would one plot a function u(x,y) ...

### 2 tikz and 3d, Putting the correct object on top

1 answers, 37 views tikz-pgf 3d
When drawing a 2d object, it's easy to understand thy tikz works at it does: simply put the latest drawing on the top. This behavier doesn't translate so well to 3d, so is there a good way to tell ...

### 3 Using equation/function in 3D TikZ

1 answers, 184 views tikz-pgf 3d tikz-3dplot
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 ...

### Insert X, Y, and Z labels for 3D Graph in latex (overleaf)

0 answers, 34 views tikz-pgf pgfplots 3d
I tried to insert X, Y, and Z labels into the 3-D graph, but I cannot. My Latex codes (I use Overleaf) are like that. Please help me. \begin{figure}[htp] \caption[Caption for LOF]{The Plot of ...

### Latex plot 3D surface from a gridding matrix

0 answers, 25 views plot 3d
How to plot a 3D graph from a gridding matrix like this Matrix gridding (41x41): 0.4346 0.39557 0.35384 0.31542 0.28228 0.25556 0.23441 0.21819 0.20558 0.19559 0.18758 0.18116 0.17588 0.17142 0....

### Drawing vertical Bars in a 3D plot [duplicate]

1 answers, 66 views pgfplots 3d
I am new to Latex, and I am trying to plot train of pulses of two variables, something like: z = A * delta(x-x_0) * delta(y - y_0) The best I can get at the moment is just a single mark where I ...

### How to draw a 3D note box? [duplicate]

0 answers, 37 views tcolorbox 3d
Do you have any idea how to draw a box like the one below (I found it in the tcolorbox package document)? I drew this 3D like box, but doesn't look exactly like the one above: code: \makebox[\...

### 3 pgfplots: Filling a region between two curves in 3D

1 answers, 61 views pgfplots 3d
I'm trying to create a figure to help explain different types of line integrals. This involves a curve in 3 dimensions (the thick line), the curve in the x-y plane that it follows (the dashed line), ...

### 1 Axis and scaling in 3D plot

1 answers, 97 views tikz-pgf pgfplots 3d
Friends, I'm having a bad time trying to figure out how to make the axis appear "inside" the plot. When I use the option axis on top it appears always in front of the plot and when I do not use it, ...

### 5 Draw a rectangular prism and label its dimensions

2 answers, 378 views tikz-pgf 3d shapes
I'm trying to prepare a worksheet for my students on calculating the volume of a rectangular prism (cuboid). Using the code below I manage to generate the rectangular prism, but how do I add the ...

### Adjusting axis label multiplier distance in pgfplots 3D axis [duplicate]

1 answers, 38 views pgfplots 3d
I'm failing at getting an acceptably positioned tick label multiplier in the following MWE of a 3D plot: % !TeX program = lualatex \RequirePackage{luatex85} \documentclass[border=1pt]{standalone} \...

### How to draw a circle on YZ-Plane in R^3?

1 answers, 70 views positioning 3d tikz-3dplot
as written in the title, I'd like to draw a circle in the YZ plane, at the moment i wrote static coordinates but if it's possible to let tikz calculate the perspektive it would be way better. Thank ...

### 2 I want to draw the rotation animation of this triangle around the oz axis, and fix the frame (x_0, y_0, z_0) [duplicate]

1 answers, 88 views 3d animations animate tikz-3dplot
I want to make an animation, to show the rotation of this plate around the axis oz, I used this code \documentclass[border=5pt]{standalone} \usepackage{tikz,tikz-3dplot} \begin{document} \...

### 2 How can I write 3-dimensional diagrams in XYmatrix with parallel arrows?

1 answers, 74 views 3d commutative-diagrams xymatrix
I'm trying to fix the following diagram that I wrote in XYmatrix. I want to make it a cube or at least a parallelogram, but I don't know how to deal with the different lenghts of the names of the ...

### 9 Plotting several 2d curves (with different colors) in a 3d graph

1 answers, 441 views tikz-pgf pgfplots plot 3d
I'm trying to reproduce 3D plots with several 2d curves, like in Plotting several 2D functions in a 3D graph. The end result looks like this: The questions are: I would like to change X labels (...

### could i draw 3d cylinder with tikz? [duplicate]

0 answers, 56 views 3d tikz-3dplot
Could i draw 3D cylinder with tikz, using canvas? i need the full code please, i tried it with arc and ellipse shape but i want an actual 3D cylinder. also i need to know how to rotate a dice drawn ...

### Rotating (or cyclically permuting axes of) 3D plots?

2 answers, 151 views tikz-pgf pgfplots 3d
By default, 3d plots render such that the z-axis is directed upwards with the xy-plane being horizontal. Is it possible to rotate a 3d plot to make e.g the y-axis directed upwards with the zx-plane ...

### 1 pgfplots: Conditional plotting of a 3D surface

1 answers, 64 views pgfplots 3d
Considering the following data 3.1 1 21.8 3.1 0.98 19.16666667 3.1 0.96 17.83333333 3.1 0.94 16.16666667 3.1 0.92 15.5 3.1 0.9 14.83333333 3.1 0.88 14.16666667 3.1 0.86 13.5 3.1 0....

### 3 PGFPlot 3D opacity and appearance

0 answers, 86 views pgfplots 3d transparency
I used MATLAB to generate some 3D figures and I would like to show two surfaces in one graphic using PGFPlots. In order to better illustrate the surface differences, I set opacity = 0.5 for both of ...

### Problem rendering 3D Asymptote surfaces

0 answers, 120 views 3d asymptote
I'm trying to produce the most simple 3D Asymptote surface graph (code below). When I first started using 3D graphs, I noticed I had to add the settings.render=0; to avoid getting some weird ...