For some lecture script I am preparing I would need some descriptive images showing how to work with spherical coordinates as often seen in textbooks, i.e. a globe and some descriptive arrows annotating \Phi, \Theta, etc.

Can someone tell me if, and how, this can be done in latex (I am a fairly familiar with LaTeX for typesetting text but a novice when it comes to PSTricks and co.)!


1 Answer 1


Here is an embryonic tikz-3dplot solution, adapted from the example on p26 of the manual:

enter image description here



    \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[-stealth,color=red] (O) -- (P) node[above right] {$P$};
    \draw[dashed, color=red] (O) -- (Pxy);
    \draw[dashed, color=red] (P) -- (Pxy);
        {\thetavec}{anchor=south west}{$\theta$}

  • Wow, thank you guys for your fast and excellent help! My question is fully solved!
    – Chris
    May 27, 2013 at 7:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.