For more figures related to the definition of coordinate systems, please have a look at the “coordinates” tag.
Edit and compile if you like:
\documentclass[border=3pt]{standalone}%Drawing\usepackage{tikz}%3D\usepackage{tikz-3dplot}%Tikz Library\usetikzlibrary{angles, quotes, intersections}%Styles\tikzset{axis/.style={thick,-latex}}\tikzset{vec/.style={thick,blue}}\tikzset{univec/.style={thick,red,-latex}}%Notation\usepackage{physics}\usepackage{bm}\begin{document}\tdplotsetmaincoords{70}{110}%\pgfmathsetmacro{\thetavec}{48.17}\pgfmathsetmacro{\phivec}{63.5}%\begin{tikzpicture}[tdplot_main_coords]%Axis\draw[axis] (0,0,0) -- (6,0,0) node [pos=1.1] {$x$};\draw[axis] (0,0,0) -- (0,6,0) node [pos=1.05] {$y$};\draw[axis] (0,0,0) -- (0,0,5.5) node [pos=1.05] {$z$};%Help Lines\draw[dashed] (2,4,4) -- (2,4,0);\draw[dashed] (2,0,0) -- (2,4,0) node [pos=-0.1] {$x$};\draw[dashed] (0,4,0) -- (2,4,0) node [pos=-0.35, left] {$y$};\draw[dashed] (0,0,4) -- (2,4,4) node [pos=-0.1] {$z$};\draw[dashed, tdplot_main_coords] (4.47,0,0) arc (0:90:4.47);
Click to download: cylindrical_1.tex
Open in Overleaf: cylindrical_1.tex
This file is available on GitHub.
See more on the author page of Alexandros Tsagkaropolulos.