[pstricks] origin labeling and psaxes

Christoph Bersch usenet at bersch.net
Wed Jun 21 17:43:34 CEST 2006


Hi,

best I first give you an example to illustrate my question:

\documentclass{article}
\usepackage{pst-plot}
\begin{document}

\begin{pspicture}(-3,-3)(5,5)
\psaxes[Ox=-3,Oy=-3,Dx=2,Dy=2](-3,-3)(5,5)
\end{pspicture}

\end{document}

In this plot, the labeling of both axes is -3, -1, 1, 3 etc. The
counting starts at the lowest x-number in steps of Dx.

Is there a way (without changing Ox or Dx) to start labeling from the
zero label?
So put the label 0, and then counting up from 0 with steps of 2 in the
positive and in the negative direction, yielding labels -2, 0, 2, 4 etc.

Hope my question was clear :-)

Thanks for your help
Christoph



More information about the PSTricks mailing list