I want to draw a 3D (rotational) Cartesian coordinate system as shown in the attached figure. As a new user of TikZ, I stuck on the following points:
1) How to plot two arcs with same center and different radius (arrow head)
2) intersection points b/w arc and line
3) rotated co-ordinates (one of the case is shown in figure) on that intersection point
There is something I managed to do today with the help of examples and manual, but this is surely not an efficient and smart way to start this problem.
I would really appreciate your help.
\documentclass[tikz,border=12pt]{standalone}
\usetikzlibrary{intersections}
\usepackage{tikz}
\usepackage{tikz-3dplot}
\tdplotsetmaincoords{60}{110}
\begin{document}
\begin{tikzpicture}
% add: rotation option
\coordinate (O) at (0,0,0);
\draw[thick,->] (0,0,0) -- (1,0,0) node[anchor=north east]{$x$};
\draw[thick,->] (0,0,0) -- (0,1,0) node[anchor=north west]{$y$};
\draw[thick,->] (0,0,0) -- (0,0,1) node[anchor=south]{$z$};
\draw[red] [name path=A1] (3,0) arc(0:120:3);
\draw[red][name path=r1] (0,0) -- (3,3);
\draw [name intersections={of=A1 and r1, by=y}] (y) circle (1pt);
\draw[blue] (6,0) arc(0:120:6);
\end{tikzpicture}
\end{document}
[tdplot_main_coords]
to the options of thetikzpicture
.