%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example D-5-1 on page .
%% 
%%  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{ttctexaplate}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{413.44133pt}
\StartShownPreambleCommands
\usepackage[dvipsnames]{pstricks}
\usepackage{pst-node}
\StopShownPreambleCommands
\begin{document}
\psset{linewidth=1.2mm}
\begin{pspicture}(4,2)
  \pscurve[arrows=<->,linecolor=Yellow](0,1.3)(0.7,1.8)(3.3,0.5)(4,1.6)(0.4,0.4)
  \psecurve[linecolor=RoyalBlue,
    linestyle=dashed](0,1.3)(0.7,1.8)(3.3,0.5)(4,1.6)(0.4,0.4)
\end{pspicture}\qquad
\begin{pspicture}(4,2)
  \pscurve[arrows=<->,linecolor=RoyalBlue](0,1.3)(0.7,1.8)(3.3,0.5)(4,1.6)(0.4,0.4)
  \psecurve[linecolor=Yellow,
    linestyle=dashed](0,1.3)(0.7,1.8)(3.3,0.5)(4,1.6)(0.4,0.4)
\end{pspicture}
\end{document}
