%%
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%%
%%  Example 6-7-18 on page 428.
%%
%%  Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss
%%
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%%
%%  See http://www.latex-project.org/lppl.txt for details.
%%

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{231.83385pt}
\StartShownPreambleCommands
\usepackage{pstricks,pst-plot}
\usepackage{pst-math}
\StopShownPreambleCommands
\begin{document}
\psset{unit=0.8}
\begin{pspicture*}(-5,-5)(5,5)
 \psaxes{->}(0,0)(-5,-5)(5,5)
 \psset{linewidth=2pt}
 \psplot{-5}{5}{x COSH}
    \uput[0](-3.5,3.5){$\cosh x$}
 \psplot[linestyle=dashed]{-5}{5}
        {x SINH}
   \uput[0](-3.5,-3.5){$\sinh x$}
 \psplot[linestyle=dotted]{-5}{5}
        {x TANH}
   \uput[0](3,1.25){$\tanh x$}
\end{pspicture*}
\end{document}