Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tikz-3dplot]

This tag is for questions related to the tikz-3dplot package for enhancing TikZ coordinate system to 3D.

3
votes
1answer
50 views

How can I draw this cylinder with 3D?

I am trying draw this cylinder. I used tkz-euclide. My code \documentclass[border=2mm,12pt]{standalone} \usepackage{fouriernc} \usepackage{tikz} \usepackage{tkz-euclide} \usetkzobj{all} \...
6
votes
2answers
120 views

How can I get full line of circle of this picture?

Based on my question at here How to draw dashed arc of a circle behind pyramid? I tried \documentclass[border=2 mm,12pt,tikz]{standalone} \usepackage{tikz,tikz-3dplot} \usepackage{tkz-euclide} \...
3
votes
1answer
47 views

Rotated tikz-3dplot: How to automatically distinguish between visible and hidden lines?

So I have a script that generates a figure of points and triangular elements representing a discretised hemisphere: See below for code. Now I'm wondering if there is some good way of drawing this ...
5
votes
2answers
376 views

How to draw dashed arc of a circle behind pyramid?

I am trying to draw like this picture I tried \documentclass[border=2 mm,12pt]{standalone} \usepackage{fouriernc} \usepackage{tikz} \usepackage{tikz-3dplot} \begin{document} \...
2
votes
1answer
35 views

Square Loop Made of Cylindrical Wire with Uniform Cross Section

I am trying to draw a square loop made of thick cylindrical wire with uniform cross section lying on the ground as is given in Square_Loop.png. Plotting such a loop in 3D as a rectangular frame drawn ...
3
votes
1answer
81 views

Drawing Torus with semi-dashed line on it [duplicate]

I would like to draw : To draw the above torus, I have used the following codes : \documentclass[margin=2mm,tikz]{standalone} \usepackage{pgfplots} \begin{document} %Oberflächenproblem \begin{...
1
vote
1answer
27 views

pgfplots - remove xz and yz background planes

I'm trying to get a 3dplot with only xy plane, without z axis and zx and zy planes. To be clear, this is the best result i've got: and this is what i'd like to obtain: Here's the code: \begin{...
2
votes
1answer
47 views

TikZ 3D plot : how to add spaces between tick labels to prevent them from colliding?

I have a 3D plot with colliding yticklabels, which I have been unable to fix for now. Here is my minimum working example: \documentclass[10pt]{standalone} % \usepackage[utf8]{inputenc} \usepackage{...
1
vote
1answer
56 views

How could I graph z=sqrt(x^2-y^2) using Pgftools? I believe I've all suggestions on the internet but to no avail

I have tried graphing it with the parametric notation (i.e. ({x},{y},{sort(x^2-y^2)}) and as seen on my code below but nothing renders the image shown on graphing calculators. \begin{tikzpicture}[...
2
votes
1answer
48 views

Drawing a curve (not necessarily an arc) in tikz-3dplot

I'm trying to draw a curve in tikz-3dplot that isn't the arc of a circle. I would like for it to specified by control points, similar to how tikz has (0,0) to [controls=+(45:1) and +(135:1)] (1,0). I ...
3
votes
1answer
36 views

Using node or draw circle in tikz-3dplot

I am exploring the tikz-3dplot package for drawing objects in 3d and experienced a problem. I simply want to draw a circle and reference some of the points later, but I found there is a difference ...
6
votes
2answers
166 views

How can I reduce my code to draw this polyhedron?

I am trying to draw this picture My code \documentclass[border=2mm,12pt,tikz]{standalone} \usepackage{tikz,tikz-3dplot} \usepackage{fouriernc} \usetikzlibrary{folding} \begin{document} \...
5
votes
1answer
213 views

How to draw the angle between two intersecting 3D circles

I'm new to TikZ and I'm trying to label the angle between two intersecting circles, as seen in red in the following picture, Below is my code so far which makes the following diagram, \documentclass[...
1
vote
1answer
42 views

tikz-3dplot accumulates the transformation every time let operator is used

In follow up to my previous question, I now have the following problem with the tikz-3dplot library. Every time I use the "let" operator, the transformation matrix seems to act again on the coordinate ...
3
votes
1answer
40 views

tikz-3dplot causes problems to let operator

I am trying to use the 3d-plot library. The plan is to define some basic 2d coordinates at the beginning and then use them to define all kind of 3d points, using the "let" operator: \documentclass{...
1
vote
1answer
88 views

Intersection of a line with a plane, where is wrong in my code?

Let SABCD be a pyramid, A(0,0,0), B(-2,5,0), C(4,4,0), D(6,2,0), S(a,b,h), O is intersection of two line AC and BD. A plane passing through O and parallel to the lines AB and SC cut the lines AB, BC, ...
11
votes
2answers
338 views

Vertical sliced cylinder

I want to explain how the shape of a cylinder is made. Therefore I want te make this picture. My code is this: \documentclass{article} \usepackage{siunitx} \usepackage{tkz-euclide} \begin{document}...
2
votes
1answer
69 views

3d - TiKZ: How to join the 2 faces of a cylinder?

I have the code below to draw the terminal faces of a cylinder shown in horizontal direction. I would like to complete the figure with the 2 lines that show the wall tube. I guess there is something ...
3
votes
1answer
96 views

Intersection of a line with a plane, where is wrong in third way?

Let SABCD be a pyramid, SA perpendicular to the plane ABC, the base of pyramid is a rectangle,SA=h, AB=a, AD=b. A plane P passing A and perpendicular to the line SC cut the lines SB, SD, SC ...
3
votes
1answer
157 views

Is there a command to find coordinates of projection of a point on a plane?

Let SABC be a tetrahedron, SA = c, AB = a, AC = b, SA perpendicular to AB, AB perpendicular to AC, and AC perpendicular to SA. I am trying to find the projection H of the point A on the plane SBC. I ...
3
votes
1answer
91 views

Is there a command to find coordinates of projection of a point on a line in 3D?

Sometimes, I need determine coordinates of projection of a point on a line in 3D. I know The Syntax of Projection in 2D at 13.5.5 The Syntax of Projection Modifiers at Manual for Version 3.1. This ...
1
vote
1answer
97 views

TikZ PGF: How to develop cell values for 3D graph?

Currently there are some awesome pgfplots around here. I think about something like this one: Minimum Working Example (MWE): \documentclass[border=5mm]{standalone} \usepackage{pgfplots, filecontents}...
5
votes
1answer
727 views

How to draw a circle (sphere) passing through four points?

I am trying to draw a circle (sphere) passing through four points B, C, E, F like this picture I tried with tikz-3dplot and my code \documentclass[border=3mm,12pt]{standalone} \usepackage{fouriernc}...
9
votes
4answers
586 views

How to change \foreach to omit a certain multiple

I hope the solution to my problem is not too complicated or tedious. I am drawing a diagram which has one nuisance in it: Every time the sine curve touches the axis TiKz tries to draw a line of 0 ...
4
votes
1answer
60 views

How to connect a node between two 3d tikzpictures

I apologize if this is a repeat of another question, but I would like to connect the nodes A and B from the left hand side of this picture to the top and bottom of the circle in the right hand side: ...
6
votes
1answer
167 views

Brownian motion and normal distribution in Tikz, 3D version

Following a previous question, this representation that might be even more pedagogic in 3D. Based on this working example extracted from This post \documentclass[border=5mm]{standalone} \usepackage{...
4
votes
1answer
53 views

Filling Faces of Spherical Segments with Colours

Thanks to @marmot I have plotted a segment of the spherical shell as shown below. Is there any possibility of filling (including opacity, gradient etc) the faces of the segment in the TikZ code with ...
2
votes
1answer
225 views

How to represent density 3D plots based on the type of the point

I want to plot a data set with xyz points, each of them has a 0 (success) and 1 (error) as a result of an experiment. The data file "data_all_10m.dat" is in this link. I have tested Gnuplot with ...
1
vote
1answer
66 views

Microscopic Structure of Spherical Elastic Membrane

I would like to draw a 2D network on the surface of a light-grey non-transparent sphere. In the actual fact, the network represents a 2D square lattice composed of many balls and springs as proposed ...
1
vote
1answer
87 views

Drawing of some ellipsoid in tikz

I want to plot some ellipsoids like the following ones in tikz but I don't know how can I do it. How can they be plotted in tikz?
5
votes
2answers
276 views

Drawing a perspective ellipse with TikZ

I made the following ellipse in Inkscape But I would like to draw it within TikZ environment.My final goal is to put this ellipse inside a coordinate system. Using the image from Inkscape, here is ...
3
votes
1answer
85 views

surface of revolution in Tikz 3D

I'm trying to make a nice picture from a simple surface of revolution. Here my text: \documentclass[a4paper,11pt]{article} \usepackage{ifthen} \usepackage{tikz, tkz-euclide} \usepackage{tikz-3dplot} \...
0
votes
1answer
71 views

Drawing similar picture with tikz

Is it possible to make something like this in tikz? How to? :) f(t) can be literally any curve, this arrow pointing it is just a comment, not a part of a drawing
1
vote
1answer
93 views

Plotting 3d vectors with a light cone in background

I was trying to plot a a couple of 3d vectors with a light cone in background. The code is a fusion of the following two old answers: Cut-off cone in TikZ and 2D and 3D vectors in Tikz. I was not able ...
4
votes
1answer
111 views

3D Surface Plot

I am using TIKZ (tikz-3d) plot to create a cartesian grid and to create a surface(a section of a sphere) passing through the surface. First I create a 3d cartesian mesh using the following code:- \...
9
votes
1answer
197 views

How to draw a 3d horseshoe in TikZ

I am trying to draw an experimental setup involving a horseshoe magnet. I am having difficulty of hiding lines that should not appear, and I am unsure how to use shading to indicate the different ...
2
votes
1answer
147 views

Angle between two vectors and a plane in TiKz

I'm stuck to do the following figure in TiKz. How to span a plane and plot the shown angles? Thanks a ton in advance!
1
vote
1answer
70 views

Decoration of tikz-3dplot function: Error without effect

I created a 3D plot with tikz-3dplot and tried to add text along a path created by the function tdplotdrawarc by using a text decoration. The appended MWE works as intented, but displays the error ...
3
votes
2answers
163 views

Draw the three cylindrical sections

I want to draw the three conic sections (circle, ellipse and rectangle) where the cylinder and cross sections are colored: \documentclass{standalone} \usepackage{tikz} \usepackage{animate} \...
0
votes
2answers
115 views

Draw a gray box with nodes

I am a new user to tikzplot. Does anyone know how to make the grey box with the nodes inside the box. Thanks
5
votes
1answer
161 views

Draw the four conic sections

I want to draw the four conic sections (circumference, ellipse, parabola, and hyperbola) as shown in the picture: MWE: \documentclass{article} \usepackage{pst-plot} \usepackage{tikz} \begin{...
12
votes
1answer
490 views

How to draw an arc for a bullet

My apologies in advance if you feel that this question is more about drawing instead of being technical. The following diagram is what I want to replicate in Latex: I believe I have done most of the ...
2
votes
1answer
192 views

Drawing a cylinder in 3D coordinates

I want to draw a picture like this. But I take on problems in terms of perspective (line 35) and the cylinder. \documentclass[border=10pt]{standalone} \usepackage[utf8]{inputenc} \usepackage[T1]{...
2
votes
2answers
37 views

Non axisymmetric plate shapes

I am trying to obtain the next figures: They must keep some boundary conditions in the outside edge (zero slope, zero displacement), so the function in polar coordinates is: The above figures ...
3
votes
1answer
36 views

Modal Shapes Circular Plate

I am trying to produce the next figures: I try with this code: \begin{tikzpicture} \begin{axis}[view={60}{20}] \addplot3[surf,shader=flat, samples=30,trig format=rad, domain=1:0, y domain=0:2*pi, z ...
2
votes
1answer
98 views

3D arrow with shade and text with tikz

I want to create a figure as shown with latex/tikz. It contains a three-axis space, 3D arrow with text inside and shadows, and 3D-rotated axis titles etc. Only other examples I find are about 3D ...
3
votes
1answer
86 views

Add a plane to a tikzpicture and make it appear more three dimensional

Please consider the following configuration of vectors. \begin{tikzpicture} \draw[thick,->] (0,0,0) -- (3,0,0) node[anchor=north east]{$\varepsilon_1$}; \draw[thick,->] (0,0,0) -- (0,3,0) node[...
0
votes
1answer
81 views

How to make this graph?

Is there any software, which provides Latex code, where can I make this graph? Or could you help me do this using Tikz?
5
votes
2answers
333 views

How to make a 2D sphere with decreasing radial gradient

I'm using this code: \documentclass[a4paper]{article} \usepackage{tikz} \usepackage{tikz-3dplot} \begin{document} \tdplotsetmaincoords{45}{135} \pgfmathsetmacro{\rvec}{.8} \pgfmathsetmacro{\...
2
votes
1answer
75 views

Periodic potential with TikZ

I am trying to generate this image: I have not yet tried an approach to this, but there does not appear to be anything similar to this on TEXample.net . Can anyone direct me to a start? (i.e. I ...