[pstricks] Sketching the graph of the tangent function

Doris Wagner doris.wagner at mac.com
Tue Oct 10 18:03:48 CEST 2006


Hi Richard,

perhaps this one is a little bit shorter than Eduardos:


\usepackage{pstricks}
\usepackage{pst-plot}
\usepackage{pstricks-add}

\begin{document}

\begin{pspicture*}(-8,-11)(8,11)
\psplot[linewidth=1.pt,plotpoints=300]{-7.854}{7.854}{x RadtoDeg sin x  
RadtoDeg cos div}

\psaxes[xunit=1.571,tickstyle=top,arrowscale=2,showorigin=false,trigLabe 
ls]{->}(0,0)(-5.1,-10.5)(5.1,10.5)
\uput*{0.6}[45](7.3,0){\Large$x$}
\uput*{0.4}[180](0,10.){\Large$y$}
\end{pspicture*}

\end{document}


and:

what kind of transformations do you mean?




More information about the PSTricks mailing list