Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[tikz]{standalone}
- usepackage{tikz-3dplot}
- tikzset{
- axis/.style={-stealth,line width=2pt,every node/.append style={text=black}},
- xaxis/.style={axis,red},
- yaxis/.style={axis,green},
- zaxis/.style={axis,blue},
- }
- begin{document}
- tdplotsetmaincoords{70}{115}
- begin{tikzpicture}[tdplot_main_coords]
- draw[xaxis] (0,0,0) -- (1,0,0) node[pos=1.3]{( x )};
- draw[yaxis] (0,0,0) -- (0,1,0) node[pos=1.3]{( y )};
- draw[zaxis] (0,0,0) -- (0,0,1) node[pos=1.3]{( z )};
- end{tikzpicture}
- end{document}
- documentclass[tikz]{standalone}
- usepackage{tikz-3dplot}
- usetikzlibrary{arrows.meta}
- tikzset{
- axis/.style={-stealth,line width=2pt,every node/.append style={text=black}},
- xaxis/.style={axis,red},
- yaxis/.style={axis,green},
- zaxis/.style={axis,blue},
- }
- begin{document}
- foreach rotationangle in {115,120,...,470}{
- tdplotsetmaincoords{70}{rotationangle}
- begin{tikzpicture}
- clip (-1.5,-0.75) rectangle (1.5,1.5);
- begin{scope}[tdplot_main_coords]
- draw[xaxis] (0,0,0) -- (1,0,0) node[pos=1.3]{( x )};
- draw[yaxis] (0,0,0) -- (0,1,0) node[pos=1.3]{( y )};
- draw[zaxis] (0,0,0) -- (0,0,1) node[pos=1.3]{( z )};
- end{scope}
- end{tikzpicture}
- }
- end{document}
- axis/.style={-stealth,line width=2pt,every node/.append style={text=black},line cap=round},
- filldraw[red] (0,0,0) circle [radius=0.04cm];
- shade [ball color=black] (0,0,0) circle [radius=0.04cm];
Add Comment
Please, Sign In to add comment