Stack Exchange Network

Stack Exchange network consists of 174 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.

5
votes
1answer
654 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
555 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
47 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: ...
5
votes
1answer
97 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
44 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
182 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
63 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
65 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
230 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 ...
2
votes
1answer
61 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
67 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
47 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
73 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
168 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
91 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
56 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
146 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
80 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
4
votes
1answer
108 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
468 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
116 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
30 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
31 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
82 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
72 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
77 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
316 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
70 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 ...
2
votes
1answer
73 views

Generate this Bloch sphere in TikZ

I made these images using Mathematica: which I would like to reproduce using TikZ (the axes labels range from 0 to 1). The difficulty is in getting a similar colour scheme that gives the same 3D feel ...
3
votes
1answer
166 views

Can one use tikz-3dplot with perspective?

Consider the following 3D surface graphs created using the tikz-3dplot package: \documentclass{article} \usepackage{tikz} \usepackage{tikz-3dplot} \usepackage{caption} \usepackage{subcaption} \...
1
vote
1answer
58 views

Plotting 3d from different Excel Files

i have several Excel Files (.csv) which are built up like the following scheme: Instruction Averange ddv 500 6717.10 300 600 7572.30 300 [...] So basicalle the column "Instrcution" is the same in ...
10
votes
2answers
180 views

Sphere packing in a sphere diagrams

Inspired by How to create nice-looking nuclei in TikZ?, I am trying to draw arrangements of spheres, in particular the sphere packing in a sphere problem. From Wikipedia - "Sphere packing in a sphere ...
4
votes
1answer
129 views

Drawing an arc to this image

I used the result in this post to achieve a rotation of a cone about an 3D axis. I am unsure on how to implement the following to this image: I would like the imaginary lines that run along the '...
4
votes
1answer
215 views

Draw lower (southern) hemisphere and great semicircle with “mathematician's” axes orientation

With tikz and tikz-3dplot I want to draw: the unit lower (i.e., southern) hemisphere; and on that two great semicircles through the south pole, i.e., point $(x, y, z) = (0, 0, -1)$, the first joining ...
5
votes
1answer
453 views

How to draw circles in an arbitrary plane

I would like to generate the following image of TikZ: The closest resemblance on the examples is this post. However, I am not sure how to add the circles in the plane of the cubes. Any help is ...
10
votes
1answer
394 views

How to draw the following diagram (a wedge of cheese) using pgfplots or tikz?

I would like to draw the diagram below using either pgfplots or tikz. I am able to draw a cylinder, using the pgfplots manual, but I don't know how to draw a fraction of a cylinder.
10
votes
1answer
343 views

How to make a thermodynamics conduction diagram in pstricks or tikz with shading?

I am attempting to make the following picture But I would like some elements modified which I have done in the following pstricks image. I do not know how to center text, do multiline text for "...
2
votes
1answer
50 views

PGFplots: Calculate the title rotation angle to make it parallel to the visibly longer axis

In order to make the title parallel to the visibly longer axis, how is it possible to calculate the rotation angles of both titles (i.e. \FirstTitleAngle and \SecondTitleAngle) instead of the manual ...
2
votes
0answers
77 views

Some modification of the rubik's cube post [closed]

I read the question concerning the rubiks cube and that seems fine for my intention. However, i have no real cube shape, but 4 "columns" and 3 "rows" and 3 "steps" in the depth. Can this Code posted ...
1
vote
1answer
70 views

Graphing a paraboloid produces some imperfections using tikzpicture environment

I would like to plot the following bounded paraboloid using tikzpicture: z = 3x^2 + 3y^2 - 3. This is what I got so far: MWE: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{...
7
votes
2answers
357 views

Draw a 3D right-handed frame with good-looking origin

I am using tikz-3dplot a lot to draw coordinate systems (often multiple in one drawing) and I am not satisfied with how the 'origin' looks. For example, \documentclass[tikz]{standalone} \usepackage{...
7
votes
1answer
113 views

Solid region enclosed by surfaces

I'm trying to obtain the solid regions showed below for didactical purposes: I know that with psplot in 2d one can do things like that (area enclosed by two curves) and the output is very nice (I did ...
8
votes
2answers
383 views

how to draw pitch, yaw and roll with 3d plot

I am looking to visualize the angles of pitch, yaw and roll with Tikz-3Dplot here is my code \documentclass[margin=1cm]{article} \usepackage{tikz} \usepackage{tikz-3dplot} \usepackage{subfig} \...
1
vote
1answer
122 views

Understanding change of basis with tikz (new case)

Following this post, here is another situation I don't understand. Whatever matrix I use (P, P projected, PI or PI projected), ey' and ey'' are always different (while they should not be) ! \...
4
votes
2answers
147 views

Understanding change of basis with tikz

I'm trying to understand change of basis with Tikz. To do that, I try to imitate \tdplotsetmaincoords{\alpha}{\beta} of tikz-3dplot. Here is a code : \documentclass{article} \usepackage{tikz} \begin{...
4
votes
1answer
219 views

How to draw differently, visible and hidden part of arbitrary circle on a sphere

I would like to draw a sphere with several circles (not necessarily passing through the center of the sphere). I would like to give a style to the visibles parts of circles and another to hidden parts....
2
votes
1answer
71 views

Use of \tikzset{xyplane/.estyle={cm={a,b,c,d,(e,f)}}}

I try to imitate this paper and get troubles projecting things in the xyplane. Rotation matrix around x axis with an angle a is : [1,0] [0,cos(a)] But if a=pi/2, this matrix is equal to : [1,0] [...
2
votes
1answer
94 views

Same shading for the patches in the same plane (2)

I am trying to plot and shade a 3D figure using patch table with point meta as in question "Same shading for the patches in the same plane", but I am obtaining triangles in the same plane but with a ...
3
votes
1answer
89 views

Orientation of a TikZ diagram

I have designed a diagram, with the following code \documentclass{article} \usepackage{stanli} \usepackage{tikz-3dplot} \begin{document} \begin{figure} \centering \setcoords{-25}{10}[1][1....
0
votes
0answers
54 views

Default tikz-3dplot main coordinates

I'm looking to draw two pictures, one of which a rotation of the other in 3D. The trouble is, I've already drawn the first. To rotate the second, I would use tdplotsetrotatedcoords, but this only ...