Skip to main content

Questions tagged [tikz-3dplot]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
15 views

Fill surface of circle with solid or transparent colour in 3dtools

I'm trying to figure out how to fill the surface of a circle plotted with 3dtools with a solid or transparent colour. For example, in the MWE below, I would like to colour the surface of the green ...
Coenraad van Schoor's user avatar
1 vote
1 answer
50 views

Polar rotations of sphere using tikz-3dplot

I want to spin a circle about the z axis after a rotation about the y axis, but am not getting the desired result. I can do polar rotations with the lines of latitude: But for longitudinal lines, I ...
Jasper's user avatar
  • 429
1 vote
2 answers
84 views

3D graph - issues filling space between curves and xy-plane

So I have a bunch of datasets stored in several .dat files that I have drawn on a 3D graph to show the data evolution according to a third parameter. In order to make the graph prettier, I would like ...
Marck's user avatar
  • 167
0 votes
0 answers
22 views

Bug in tikz-3dplot ? \tdplotsetrotatedcoordsorigin and \node not working together

It seems that \node is not working correctly with \tdplotsetrotatedcoordsorigin although \draw node is: when using \tdplotsetrotatedcoordsorigin{(Point)}, all nodes created with \node are placed at (...
Egomet's user avatar
  • 1
2 votes
1 answer
176 views

Easiest way to draw celestial sphere diagrams [duplicate]

I was hoping someone might be able to give some helpful advice. I've seen this question popping up a few times on the forum, but I just find all the answers too complicated and difficult to follow. I ...
Coenraad van Schoor's user avatar
3 votes
0 answers
48 views

Issues With Drawing Arc Using Tikz-3dplot

Here is the diagram I drew. Here is the code used to generate it. \begin{figure}[!th] \centering \tdplotsetmaincoords{70}{60} \begin{tikzpicture}[tdplot_main_coords] \draw[<-&...
Bored Comedy's user avatar
0 votes
0 answers
25 views

TikZ pgfplot 3d graph number positioning

Can you see the x-axis ticks (r_{AB})? There are two lines: I would like to make sure that the numbers lie underneath in the line that goes downwards. \documentclass[12pt]{article} \usepackage{tikz} ...
user3204810's user avatar
  • 1,539
0 votes
0 answers
27 views

The method of drawing 3D shapes that stack each other allows the shapes to be rotated without overlapping lines [duplicate]

I'm trying to draw adjacent cubes like this: When I rotate the shape I just drew, it gets distorted due to the order of drawing the cubes. The lines of the later shapes overlap the earlier ones. Is ...
trong vox's user avatar
1 vote
0 answers
61 views

How to draw 3D blocks stacked to grow on each other without caring about the order of drawing those blocks on Tikz

I'm trying to draw adjacent cube shapes. If I don't specify coordinates in order, the lines of the subsequent shape will overlay the previous ones as shown below. How can I handle this issue without ...
trong vox's user avatar
0 votes
0 answers
48 views

How to build the 3d cartesian coordinate system like this and add this graph

When I used the pgfplots or tikz3d I have a problem that the x,y,z axis doesn't like this. They always incline from it should be like the below image. How to set the x,y,z axis that x-axis is towards ...
sukmudmaisus's user avatar
0 votes
1 answer
60 views

Graphing simple 3d axis

How to draw 3d axis with component like this.
sukmudmaisus's user avatar
1 vote
0 answers
19 views

How do you do a 3d plot in pgf plots if your 3d data set format has an x and y value that is separate from the z-value

I am aware I didn't explain the problem in the title sufficiently, but I have this particular problem where I am unable to plot my 3d data set in pgfplots. Most data sets on the pgf plots are formated ...
Vercil Juan's user avatar
1 vote
1 answer
58 views

Fill a 3D object plot

I want to draw an object in 3D an fill it entirely. The object is defined in [0,1]^3, and I know the upper limit function, and lower limit function. The problem is I know how to draw the upper and ...
G. Ander's user avatar
  • 113
0 votes
0 answers
59 views

How to draw and color a spherical cap of arbitrary radius at a given point in a sphere using Tikz

I was wondering if there was an easy way of drawing and coloring a spherical cap centred at a certain point in a sphere. I have seen relationed questions like this one, but the spherical cap cannot be ...
Rober's user avatar
  • 1
0 votes
1 answer
85 views

Have sides of translucent cylinder appear

This is a very simple answer probably, but I want/need the sides of this cylinder to appear. The goal is to have it be for volumes of rotation by cylindrical shells. The goal is to have something like ...
Ally's user avatar
  • 69
6 votes
0 answers
201 views

How is It possible to draw 2 merging spherical caps with tikz?

I am trying to reproduce a figure using only tikz. I have produced the figure using Inkscape but I am wondering if I can do it fully in Latex. This is the aimed figure : And with the help of some ...
Waxler's user avatar
  • 860
0 votes
2 answers
118 views

3D path rotations in plain TikZ

I apologize if this has an answer elsewhere; I've looked at many questions and could not find a solution. Here are some of the posts I looked at (maybe they do answer it and I'm just not smart enough ...
user avatar
0 votes
1 answer
87 views

Change orientation of spiral in this 3d tikz image

I am trying to create a '3d' image using different viewing angles in Tikz (see MWE below). The image I have created can be see at this link. My issue is that the spiral I have created is not aligned ...
Sid's user avatar
  • 1,816
0 votes
1 answer
71 views

How to duplicate a pattern inside 3d-tikz?

I currently have a "cell" look like this: \documentclass{article} \usepackage{pgfplots} \usepackage{tikz-3dplot} \usetikzlibrary{patterns,arrows,positioning,3d,calc,fadings,shapes,...
Stephanie Yao's user avatar
1 vote
1 answer
102 views

How to draw this 3d (tikz) picture more clearly?

I want to draw this picture (The GeoGebra Sketch) in tikz and this is what I have currently The picture compiles like this, which seems a bit messy since I can only assign a whole line to be solid or ...
Stephanie Yao's user avatar
1 vote
1 answer
59 views

Draw split trajectory behind (transparant) plane in 3d plot

I have a trajectory of 3d coordinates which I have split into two separate paths, one with a negative x_1 component and one with a positive x_1 component. How do I plot a (transparent) plane in front ...
Bart Wolleswinkel's user avatar
2 votes
1 answer
147 views

"Missing character ... in nullfont" error when using Tikz 3D Plot

When I compile this minimal example using Tikz 3D Plot with pdflatex, version pdfTeX 3.141592653-2.6-1.40.25 (TeX Live 2023/Arch Linux), I end up with a series of "Missing Character: There is no ...
kstar's user avatar
  • 121
2 votes
1 answer
90 views

Error with ConTeXt and pgfplots 3d

I have an old document I'm trying to recompile, and a 3d plot doesn't work anymore. I reduced it to the following MWE : \usemodule[tikz] \usemodule[pgfplots] \pgfplotsset{compat=1.18} \starttext \...
A. Licari-Guillaume's user avatar
1 vote
0 answers
89 views

Draw a foliation on the sphere

I'm trying to do the following follition on the sphere. So far I have the following With the code \documentclass[12pt,a4paper,oneside]{book} \textwidth 16cm \textheight 23cm \oddsidemargin 0.8cm \...
Gema89.'s user avatar
  • 111
0 votes
1 answer
27 views

Keeping size uniform in standalone pages while using tikz-3dplot

The change of the viewpoint's angles in tikz-3dplot changes the different pages while using standalone. How could I keep that size uniform? Adding a rectangle as background didn't work either, so a ...
c.p.'s user avatar
  • 4,657
3 votes
1 answer
101 views

Z-axis Scale in 3D

I am recreating this graph. I can't quite figure out how to scale the z-axis to look like this. This is what I have so far: \documentclass[8pt]{extarticle} \usepackage{amsmath, amssymb, calc} \...
tangulo's user avatar
  • 87
2 votes
1 answer
77 views

Drawing Lines inside 3D Plots

In the following spiral, I would like to draw a line from $(3,0,0)$ to $(3,0,4)$ which I would normally do quite simply with \draw[black, thick] (3,0,0) -- (3,0,4); However the line will not get drawn....
Hugh Entwistle's user avatar
0 votes
2 answers
107 views

3D view of a 2D rectangle

I would be grateful to know how to: fix the code to make it work be able to control the viewing angle so that I can see the rectangle like the top surface of this image \documentclass{article} \...
Diaa's user avatar
  • 9,689
2 votes
2 answers
146 views

Adjusting a parallelepiped in tikz

I have the following code (stolen from Are there simple ways to draw parallelepipeds in tikz? and adjusted) \documentclass[border=2mm,12pt,tikz]{standalone} \usepackage{tikz-3dplot} \begin{document} \...
JoudaBouda's user avatar
1 vote
1 answer
112 views

How to align axis labels to axes in plot3 in groupplots in tikz?

The default direction of axes labels is horizontal, but I want to change it to parallel to the axes in 3D plots. For example: \documentclass{article} \usepackage{graphicx} % Required for inserting ...
Y. zeng's user avatar
  • 2,115
0 votes
0 answers
81 views

Truncated parabolic cylinder

I would like to know if it is possible to draw an image like this in 3D using tikz? Am not acquainted yet with 3D diagrams in TikZ and I would like to draw something like the picture attached. Does ...
Alisson's user avatar
1 vote
1 answer
63 views

tdplotsetrotatedcoord ' arguments

This involves making a pyramid (tetrahedral, SABCD) in a red reference frame of origin (A) = (0,0) and dimension 2 cm then tracing a green triangle on the face ((S), (B), (C)) for this it would ...
Dhénin Jean-Jacques's user avatar
1 vote
0 answers
80 views

3D Plot - Step Function

I would like to generate a 3D picture for a step function, something like this: but I got stuck. Below, I tried something. \documentclass{article} \usepackage{tikz} \usetikzlibrary{3d} \begin{...
Iuli's user avatar
  • 471
5 votes
1 answer
147 views

Merging 2 hemispheres using tikz

I am trying to reproduce this complicated figure using tikz : this consists of 2 merging hemisphere as shown below : I don't know if this is really difficult in latex but I have tried to inspire ...
Waxler's user avatar
  • 860
5 votes
2 answers
226 views

Cylindrical surface is filled incorrectly when rotated around some axis

I am trying to make a Furuta Pendulum with the help of TikZ and the parts are mostly cylinders and cylindrical rods. I can draw the shape of the cylinders just fine without filling colors. However, ...
SolidMark's user avatar
  • 1,419
2 votes
0 answers
48 views

TikZ fill behavior depends on perspective (tikz-3dplot)

Here is my MWE: \documentclass{minimal} \usepackage{pgfplots} \pgfplotsset{compat=newest} \usepackage{tikz-3dplot} \tdplotsetmaincoords{80}{-5} \begin{document} \begin{tikzpicture} \draw[fill=gray] (1....
Henry Shackleton's user avatar
1 vote
0 answers
67 views

pgfplots or tikz curved axis/surface for vector field

I am looking to draw a 2D plane of vectors in latex. Essentially a combination of the following two pictures. I can do the first picture with just \path and \draw, and the second with quiver. But, I ...
ElleZi's user avatar
  • 11
1 vote
0 answers
72 views

types of systems of linear equations and intersection of planes, with tikz

Is there a simple way using tikz to graph a plane from its equation (like those of the systems on the right side, e.g. 2x +3y -z = 11), and that allows me to represent the intersection of two or three ...
Juan Leal's user avatar
-3 votes
1 answer
58 views

How can we sketch three dimentioan films with different thicknees?

I want to sketch this box-like configuration I wanted to start writing codes but I have some default options. I need to complete it. \documentclass[dvipsnames,svgnames,x11names,border=5pt]{standalone}...
Ali's user avatar
  • 47
1 vote
1 answer
71 views

3D Spherical Coordinate Add arc new angle in varphi and change placement for theta angle

I have this MWE from tikz.net, but I want to edit the angle: add new angle (\varphi) between x and z axis change the current angle between y and z axis (\theta) into between y axis and vector r, ...
Freya the Goddess's user avatar
0 votes
2 answers
102 views

How to create a mapping like the following figure?

I am trying to make a mapping like this picture I tried \documentclass[tikz,border=3.14mm]{standalone} \usepackage{tikz-3dplot} \begin{document} \tdplotsetmaincoords{110}{70} \begin{...
John Paul Peter's user avatar
5 votes
1 answer
183 views

How to make a rotated cuboid changing the orientation with respect a point and keep the items on it

I would like to make a representation of a cardboard box changing the relative position with respect to a fixed Reader, like this, The two boxes are identical, but the top box lies on the narrow-long ...
pablo's user avatar
  • 551
1 vote
1 answer
50 views

Object rendering looks bad in Tikz-3dplots

I am trying to make some drawing using tikz-3dplot, similar to below image where the axis is perendicular to the cuboid planes. However, in my case, the axes appear to be significantly misaligned ...
Sunny's user avatar
  • 11
0 votes
2 answers
68 views

How would I remove the back line from the 3D- surface in \tdplotsphericalsurfaceplot

I am trying to plot 3D surfaces using \tdplotsphericalsurfaceplot in tikz-3dplot package. However, I get the lines along the surface even if setting the parameter \pgfsetlinewidth{0pt}. I was ...
Sunny's user avatar
  • 11
0 votes
1 answer
60 views

Mixed Layering of Parametric Plot in 3d pgfplot

I am attempting to overlay 2d lines on a 3d surf plot in pgfplots, where the 2d lines are the minima of the function z=(1/2)* (x^2)*(y^2) as seen on the plot below. Is it possible to get the lines to ...
lemmykc's user avatar
  • 15
3 votes
1 answer
146 views

How can I construct the point S of this tetrahedron and draw a sphere passing through four points A, B, C, D?

I have tetrahedron SABC with BC = 13, AC=14, AB = 15, SA = 16, SB = 17, SC = 18. I see this question here and try to draw the point S and draw a sphere passing through four points A, B, C, S. I only ...
John Paul Peter's user avatar
3 votes
1 answer
261 views

Stream plot in TikZ with singularities

I have the vector field F(x,y)=[F1(x,y),F2(x,y)] defined by F1(x,y)= -(2*y/x^2)*(2*ln(cosh(x)) + (y-2*x)*tanh(x) - x*y*(1-(tanh(x))^2)) F2(x,y)= -(4/x)*(x*y-ln(cosh(x)) - y*tanh(x)) In Mathematica, I'...
Carlos Uriarte's user avatar
8 votes
3 answers
876 views

Drawing six hemispheres

I am trying to draw the following six hemispheres next to each other with their centers aligned on a horizontal line. I am using Alenanno's answer to the question. I have done this just for the ...
Math learner's user avatar
4 votes
2 answers
197 views

draw an ellipsoid contour

I am trying to plot an ellipsoid and a cube inside. Here's what I did. \documentclass{article} \usepackage{tikz} \usepackage{tikz-3dplot} \begin{document} \tdplotsetmaincoords{75}{30} \...
Daniel Neskorodov's user avatar
2 votes
1 answer
232 views

Tikz 3D Plots not working

I wanted to get into some 3D plotting with Tikz 3D. I just wanted to learn the basics first and I copied an example to see if everything worked correctly. But then this happend: I know it's probably ...
Hanking's user avatar
  • 43

1
2 3 4 5
11