[pstricks] Re: Pstricks axes

Herbert Voss Herbert.Voss at gmx.net
Thu Dec 29 19:00:32 CET 2005



NiceGuyEddy wrote:
> Hi All,
> 
> How do I reverse the Xaxis labels ?
> 
> e.g.
> -|---|--|---|---|-->
> 5  4  3  2  1
> 
> instead of 
> 
> -|---|--|---|---|-->
> 1  2  3  4  5

\documentclass[12pt,a4paper]{article}
\usepackage{pst-plot}

\makeatletter
\def\pshlabel#1{\pst at cnta=5\advance\pst at cnta by-#1 \the\pst at cnta}
\makeatother

\begin{document}

\begin{pspicture}(0,0)(5,5)
   \psaxes{->}(0,0)(5,5)
\end{pspicture}

\end{document}


Herbert


-- 
http://TeXnik.de/
http://PSTricks.tug.org/
http://www.dante.de/CTAN/info/math/voss/mathmode/Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes




More information about the PSTricks mailing list