# [pstricks] \psxlabel and friends

Jay Belanger belanger at truman.edu
Fri Mar 1 21:13:34 CET 2002

According to the manual, the labels on the axes created by \psaxes
can be changed by changing the definitions of \psxlabel and
\psylabel.  That doesn't work for me, though.  A file with contents

\documentclass{article}
\usepackage{pst-all}
\begin{document}
\renewcommand{\psxlabel}[1]{{\small #1}}
\begin{pspicture}(0,0)(5,5)
\psaxes(0,0)(5,5)
\end{pspicture}

when LaTeXed, gives me the error

! LaTeX Error: \psxlabel undefined.

and a file with contents

\documentclass{article}
\usepackage{pst-all}
\begin{document}
\def\psxlabel#1{\small #1}
\begin{pspicture}(0,0)(5,5)
\psaxes(0,0)(5,5)
\end{pspicture}
\end{document}

doesn't change the size of the labels.
Am I doing something wrong, or is there another way of changing the
labels?
(I've been using labels=none and then putting them in myself, so to
speak, an unsatisfactory solution, I think.)

Jay