May I have the code for graphing each trigonometric function and its inverse on the same Cartesian plane? I have the following code for only graphing the sine function, and I got the following error: sorry, the supplied plot command is unknown by pgfplots. Please give me a web site for the syntax for the \begin{axis} command.
\documentclass{amsart}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[grid=both,domain=-2*pi:2*pi,samples=200,no marks,
xticklabels={-2$\pi$,-1.5$\pi$,...$\pi$,2$\pi$},x post scale=1.5]
\addplot {sin(deg(x))};
\end{axis}
\end{tikzpicture}
\end{document}
