Questions tagged [tikz-3d]

For questions about projections using {tikz-pgf} including PGF's `3d` library.

Filter by
Sorted by
Tagged with
1
vote
1answer
57 views

Gradient field of a Function for 2 Variables

Initially I had something that looked like this, where I had something that was supposed to be a hemisphere and below was the gradient field. But I couldn't get the edges to go all the way down and ...
0
votes
1answer
43 views

Rotations of 2D object in 3D space tikz

I would like to draw a fully connected graph on a plane, then adjust its inclination with the plane and link to every node in the network another role coming perpendicularly in the z-direction. Since ...
-1
votes
1answer
64 views

How to draw 2 figures that slices the sphere in 2 different ways?

Here is the figure I wanna draw in overleaf: Any advice about how to draw this, please?
5
votes
1answer
119 views

How can improve my Tikz scripting? (3D Cube)

I've been learning LaTeX for a while, and today I'm trying to create graphic elements for the first time using Tikz. This is what I'm trying to achieve: And this is what I've made: \documentclass{...
0
votes
1answer
22 views

Plotting the path left by a vector rotating around the z axis and towards the xy plane with tikz-3dplot

I have a vector along the z axis and I want to show the path traced by the point of this vector while it is spiraling down towards the xy plane. In theory, this path should be traced on the surface of ...
2
votes
1answer
67 views

Specify Radius for a cylinder, or draw edge for two 3d circles

I want to plot an optical fiber as in the picture below: As you can see, the drawing is composed of three concentric cylinders of different radii. This question is about drawing just one of those, ...
3
votes
1answer
153 views

Draw Arcs On Spherical Caps With Fill

I asked this question: Draw Arcs On Spherical Caps and a user was kind to answer. However, I am trying to improve on design by changing some colors, adding fill, and adding coordinate (x,y,z) axis ...
0
votes
2answers
70 views

How to 3d plot ax + by + cz = d equation in tex?

How to plot plane from equation rather than using coordinates in a tikz-picture environment like
1
vote
2answers
77 views

Draw a cube under extension and torsion at the same time

I would like to draw a cube under extension and torsion simultaneously as this figure: I have tried with the extension part (attached code), but don’t know how to combine it with the torsion part. \...
7
votes
1answer
134 views

Dimension Lines in 3D drawings

I am trying to apply Tikz-dimline label position (Dimension lines) to a 3-dimensional drawing. This has worked well for me in 2D, so thought it would do so in 3D. Thus, when in a 2D drawing I would ...
4
votes
0answers
133 views

tikz-3d/pgfplots: How to draw/plot curved spacetime?

Since I try to write a short introduction to tensors for physics students, I mentioned the Einstein's field equations (as a motivation). Therefore, I wanted to create a tikzpicture/pgfplots of curved ...
3
votes
1answer
176 views

Tikz 3D - Onion layers

Am not acquainted yet with 3D diagrams in TikZ and I would like to draw something like the picture attached. Does anybody have any helpful hints?
0
votes
0answers
30 views

3D diagram showing principal normal, binormal, etc

I want to convert the following diagram to a TiKZ picture: I am totally new to drawing things in 3D so any suggestions are welcome.
0
votes
0answers
103 views

How to draw a cubic surface in tikz?

How to draw a cubic surface with tikz?
4
votes
2answers
173 views

Draw 3D Cube knowing 3 points

I need to draw this figure and I only know the coordinates of points A(11,-1,2), B(13,2,8) and E(8,5,0).
0
votes
0answers
68 views

bounding an image by 4 corners and making them set the perspective

Edit new question formulation I wan't to distort an image so it fits within 4 poins defining a plane. @abcdefg suggested an answer and I took a look at it: Text in TikZ with perspective (not just ...
2
votes
2answers
276 views

A rectangular shaped carpet with the grass

I have a rectangular shaped carpet. Is it possible to create a specific code to simulate a grass carpet, like in a golf field? \documentclass[tikz,border=5]{standalone} \usepackage[prefix=]{xcolor-...
0
votes
0answers
97 views

Drawing cartooned versions of this image

Is there some efficient way to draw something like this? I haven't seen any examples on Texample to use as a basis for this. I would like to generate something similar to a CAD-rendering of this ...
0
votes
1answer
79 views

How to change coordinate system inside a tikz path

So recently I started getting my feet wet with drawing 3D drawings. I'm trying to draw a 3d drawing with the tikz 3d library. But I'm facing some problems. mainly commands like circle, arc, and ...
0
votes
0answers
73 views

file-1.pdf not found and Wrong __data_start/_end pair Aborted (core dumped) Error

I am trying to compile asymptote code using TexStudio. The code is from the Drawing 3D crystal lattice with tikz/pstricks . But it is not compiling.Another code that is not compiling is from Draw ...
1
vote
1answer
82 views

Tikz: how to draw a cone in 3D axis environment

I am trying to define a cone in a 3D environment as a function of the center of its base C(x,y,z), its radius R and the top of the cone T(x,y,z). The idea would be to able to precisely position the ...
6
votes
4answers
353 views

Truncating singular 3d surface plot with large values

I was wondering how to plot a singular surface such as z=1/(x*y)^2 (the function I'm working on is far more complicated). What I'd like to achieve is shown below: Wolfram Alpha (left) does a great ...
1
vote
0answers
81 views

Centering multiple canvas layers in tikz 3D

So I am trying to recreate the attached image exactly. But for the upper red ring, I can't seem to have it centered well. I have tried multiple modifications, but it just does not want to center ...
13
votes
2answers
335 views

High entropy alloy in TikZ

I'm trying to reproduce this illustration of a high entropy alloy (HEA) in TikZ: What I have so far looks quite bland because I can't find a way to randomly assign one out of a list of colors. \...
3
votes
1answer
222 views

Rotated half a circle in 3D, lines are slightly off in tikzpicture

In the below image, I wanted to show that some 3D shapes, like the cylinder and the sphere are constructed by rotating a planar shape around an axis. The cylinder looks OK but the outline of the ...
4
votes
1answer
214 views

Deforming/projecting text in TikZ(-cd) along a curved surface

This is a continuation of STeX Exchange 552946. I've been trying to get some 3D effects on tikz-cd, and got an amazing answer by @ZhiyuanLck. The only remaining problem is getting text/arrows to be ...
1
vote
2answers
155 views

Format line properties when it appears behind another object in TikZ

I am using the tikz-3dplot-circleofsphere package to draw circles of a sphere using tikz-3dplot. Consider the following MWE from the documentation: \documentclass{standalone} \usepackage{tikz-3dplot-...
0
votes
1answer
98 views

Do a solid with disks using Tikz [closed]

I am wanting to do a figure where I provide a function y=f(x), a number n (number of disks) and draw the revolution solid around x, like this: I would like if someone has any idea how can I do this ...
2
votes
1answer
149 views

How draw three intersecting golden rectangles to create the vertices of an icosahedron?

How create in Tikz the three intersecting golden rectangles as in the image?
4
votes
1answer
170 views

TikZ angles library incompatible with 3d library?

I recently discovered the angles TikZ library which is very convenient when one needs to annotate angles. I encountered a problem when I tried to use it in with the 3d library, since the arc is drawn ...
0
votes
1answer
83 views

Draw perspectively on the faces of a cube

I am looking for a solution to draw on the faces of a cube (or similar 3d plane surfaces with perspective) preferably with the means of tikz. The basics are given in Tikz : texture cube faces using ...
0
votes
1answer
110 views

How can I draw two spheres and a cone between them with TikZ?

I would like to get an image like this: with two spheres, intersecting a cone,the points on the intersections should also be highlighted in the way showed in figure. I've tried to get this work with ...
1
vote
1answer
104 views

Dimension too large in 3D geometry in tikz

I am facing a compilation error in a weird way. I have trimmed my code to the maximum but still my MWE is not too small, so I'll focus first on the weird part : \foreach \j in {0,1,...,5}{ ...
2
votes
1answer
44 views

How to project solid on a tracing plane?

I would like to project one of the 2D surfaces or faces of the 3D cuboid on to a plane, as indicated in the diagram follows. Kindly help me. \documentclass[border=5pt]{standalone} \usepackage{tikz} ...
1
vote
1answer
61 views

How to get unique color with opacity (color mix in the union set region/overlapping region) for each of the faces/surfaces of the cuboid?

How to get unique color with opacity (color mix in the union set region/overlapping region) for each of the faces/surfaces of the cuboid? The screen shot below does not depict the outcome of my code, ...
1
vote
1answer
32 views

How to hide not visible parts behind an addplot3 in a beamer presentation with overlays

I use a beamer presentation with overlays to show a 3D plot with addplot3 (see MWE). In the second slide a dashed line with marks is plotted. In the third slide a surface is plotted and the part of ...
3
votes
1answer
92 views

Drawing western hemisphere in tikz-3d

I asked how to draw a methane with correct dashes and wedges. All was fine till I realized the plane I added should cut through the carbon atom in the middle. lt doesn't. The solution I see is to ...
1
vote
1answer
110 views

Modify stacked 3D disc example

I saw the TIkZ example of Mark Wibrow (http://www.texample.net/tikz/examples/disc/). The original answer is here: tikz stacked disks 3D. I need just one disc and I can modify the height of the disc ...
5
votes
1answer
192 views

Arrows with spherical (conical) tips

To pag. 81 of the asymptote tutorial there are spherical arrows tips: I like the tips of the first image and of the 2nd image arrow=Arrow3() that it can be used also in 2D. Do this tips exists only ...
0
votes
1answer
152 views

Cylindrical coordinates plot

I wonder how can I plot this 3D object by using only tikz3dplot:
1
vote
1answer
352 views

Difference between \usetikzlibrary{3d} and \usepackage{tikz-3dplot}

Is there any difference between those two tikz libraries for 3D plots? I have found the documentation for tikz-3dplot on CTAN, but nothing for the \usetikzlibrary{3d}. Might be related to ...
4
votes
1answer
102 views

Curving the cylinder in a periodic fashion

I have to implement an array made up of cylindrical like elements. However, below code can only provide a straight cylinder (code credit goes to this link), instead I need to bend it like in the ...
7
votes
1answer
143 views

3D normal diffusion with a drift

Based on 3D normal diffusion I want to draw the idea the normal distribution is flattening over time, but with a drift. 1 - As you can see in MWE below, the orange normal distribution seems to be cut ...
2
votes
1answer
319 views

Surface Integral in 3D

I need a example picture for surface integrals of any function in a three-dimensional space. Wich function it is is not important. I need help getting this job started. The image is not that good, but ...
2
votes
1answer
72 views

tikz-3d shifting rectangle

Consider the following code: \documentclass{article} \usepackage{tikz} \usepackage{tikz-3dplot} \usepackage{amsmath} \newcommand{\ptsize}{1.5pt} \usepackage{xcolor} \definecolor{MyColor1}{rgb}{0.24,...
3
votes
2answers
664 views

3D isometric coordinate system with TikZ

I wish to create the following two graphs with TikZ. Preferably, I would like a simple variable to control the rotation of the graph along the three axes (although, the vertical axis would probably ...
1
vote
1answer
153 views

Plotting 3D waves with parametric equations

I'm trying to plot these curves. I tried this using the code below. But, the output wasn't exactly what I wanted. I couldn't extend it to the negative X-values and couldn't mark those ticks on the ...
0
votes
1answer
241 views

Plotting a 3D vector

I want to plot this 3D vector using tikz3D .Since I'm new to Latex, I find this task a bit difficult. I saw a couple of similar sort of questions in this forum but their pictorial representations are ...
2
votes
2answers
330 views

Plotting the graph of a 3D cylinder

I'm trying to plot this 3D graph of the cylinder, Initially, I used the code, \usepackage{pgfplots} \pgfplotsset{} \begin{document} \tdplotsetmaincoords{70}{30} \begin{tikzpicture}[...
5
votes
1answer
368 views

How can I correct line of the circle on sphere by using 3dtools?

I am trying to draw the circle A'BD on sphere by using 3dtools. I tried \documentclass[tikz,border=2mm, 12 pt]{standalone} \usepackage{tikz-3dplot-circleofsphere} \usetikzlibrary{3dtools} \...