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}\usepackage{tikz}\usepackage{tikz-3dplot}%Cylindrical Coordinate\newcommand{\cylindricalcoordinate}[4]{%\coordinate (#4) at ({#1*cos(#2)},{#1*sin(#2)},{#3});%\coordinate (#4xy) at ({#1*cos(#2)},{#1*sin(#2)},0);%}\begin{document}%Axis Angles\tdplotsetmaincoords{70}{110}%Macros\pgfmathsetmacro{\rvec}{5}\pgfmathsetmacro{\phivec}{45}\pgfmathsetmacro{\zvec}{4}\pgfmathsetmacro{\drvec}{1.5}\pgfmathsetmacro{\dphivec}{20}\pgfmathsetmacro{\dzvec}{1}%Layers\pgfdeclarelayer{background}\pgfdeclarelayer{foreground}\pgfsetlayers{background, main, foreground}\begin{tikzpicture}[tdplot_main_coords]%Coordinates\coordinate (O) at (0,0,0);%%\cylindricalcoordinate{\rvec}{\phivec}{\zvec}{A}\cylindricalcoordinate{\rvec}{\phivec}{(\zvec+\dzvec)}{B}\cylindricalcoordinate{\rvec}{(\phivec+\dphivec)}{\zvec}{C}\cylindricalcoordinate{\rvec}{(\phivec+\dphivec)}{(\zvec+\dzvec)}{D}%%
Click to download: cylindrical_volume.tex
Open in Overleaf: cylindrical_volume.tex
This file is available on GitHub.
See more on the author page of Alexandros Tsagkaropolulos.