[pstricks] Sketching the graph of the tangent function

Christophe Jorssen christophe.jorssen at free.fr
Tue Oct 10 20:14:56 CEST 2006


pstricks-bounces at tug.org wrote:
> 
> perhaps this one is a little bit shorter than Eduardos:

One even shorter :-)

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

\usepackage{pst-math}

> \begin{document}
> 
> \begin{pspicture*}(-8,-11)(8,11)

\psplot[linewidth=1.pt,plotpoints=300]{-7.854}{7.854}{x TAN}

> 
> \psaxes[xunit=1.571,tickstyle=top,arrowscale=2,showorigin=fals
> e,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}
> 

--
Christophe




More information about the PSTricks mailing list