%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example D-5-3 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{pstricks-add}
\SpecialCoor
\StopShownPreambleCommands
\begin{document}
\begin{minipage}[b]{7cm}
\psset{yunit=1.5}
\begin{pspicture*}(-.5,-3.5)(6,2.5)
    \pscustom[fillstyle=solid,fillcolor=lime,linestyle=none]{%
      \psline(3,0)(!3 dup ln)
      \psplot{3}{4.5}{x ln}
      \psline(!4.5 dup ln)(4.5,0)}
    \pscustom[fillstyle=solid,fillcolor=pink,linestyle=none]{%
      \psline(0,0)(0,-2)
      \psplot{0.01}{1}{x ln}}
    \psplot[linewidth=2pt,linecolor=blue]{0.01}{5.5}{x ln}
    \psaxes[linewidth=0.5pt]{->}(0,0)(-.5,-3)(5.5,2)
\end{pspicture*}
\end{minipage}\quad
\begin{minipage}[b]{5.5cm}
\begin{pspicture}(0,-1)(5,1)
\psaxes[labelsep=2pt,yAxis=false,
  labelsep=-10pt,ticksize=0 10mm,subticks=10,subticksize=0.75,tickcolor=blue,
  subtickcolor=magenta,tickwidth=1pt,subtickwidth=0.5pt](5.01,0)
\end{pspicture}

\psset{unit=1cm,griddots=0,subgriddiv=5}
\begin{pspicture}(5,5)
  \psgrid[subgriddiv=10,gridlabels=0,
     gridwidth=1pt,gridcolor=Orange,
     subgridwidth=0.1pt,subgridcolor=Orange]
  \psline[linewidth=2pt,linecolor=blue](0,1)(5,5)
  \psaxes{->}(1,1)(0,0)(5,5)
  \uput*[-90](4.75,1){$\mathbf{x}$}\uput*[0](1,4.75){$\mathbf{y}$}
\end{pspicture}
\end{minipage}
\end{document}
