Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[a4paper,11pt]{article}
- usepackage{tikz, tkz-euclide}
- usepackage{tikz-3dplot}
- usepackage[margin=2.5cm, vmargin={2.5cm,1.5cm}]{geometry}
- begin{document}
- tdplotsetmaincoords{60}{40}
- begin{tikzpicture}[tdplot_main_coords,scale=4]
- draw[thick,dashed] (0,0,0) -- (-0.2,0,0) ;
- draw[thick,dashed] (0,0,0) -- (0,0.2,0) ;
- draw[thick,dashed] (0,0,0) -- (0,0,-0.2) ;
- 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$}; % pas op y-as geinviteerd
- draw[thick,->] (0,0,0) -- (0,0,1) node[anchor=south]{$z$};
- draw[very thick, blue] (0,0,0) -- (1,0,{2/3}) node[anchor=west]{$l$} ; % functie in x-z vlak
- tdplotsetrotatedcoords{0}{0}{0} %
- begin{scope}[tdplot_rotated_coords]
- foreach p in {0,0.02,...,1}
- {tdplotdrawarc[black, very thin]{(0,0,p)}{p*2/3}{0}{360}{}{}{}}
- end{scope}
- end{tikzpicture}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement