[pstricks] How do xAxisLabelPos and yAxisLabelPos work?

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Jun 4 10:43:38 CEST 2008

Denis Bitouzé schrieb:
> Le mercredi 04/06/08 à 08h55,
> Herbert Voss <Herbert.Voss at FU-Berlin.DE> a écrit :
>> it is nothing else than an \uput or \rput with absolute
>> or relative coordinates.
> Thanks Herbert for your answer but I still don't understand how to
> rationally proceed in order to get the right positions in the following
> example (I obtained them by tests and errors):

I see, this is a buggy behaviour.

> \documentclass{article}
> \usepackage{pstricks-add}
> \pagestyle{empty}
> \begin{document}
> \psset{xAxisLabel=x-Axes,xAxisLabelPos={13cm,4cm},yAxisLabel=y-Axes,yAxisLabelPos={5cm,11cm}}
> \begin{psgraph}[Dx=50,dx=1cm,Ox=350,Dy=0.1,dy=1cm,Oy=0.6](350,0.6)(1000,1.8){13cm}{11cm}%


then the absoute values are correct.

> \end{psgraph}
> \end{document}

I have to look into the code what goes wrong. May take some time,
the next days are very busy ...

> By the way: it is rather common to expect the x-axis (y-axis) label to
> be horizontally (vertically) centered and below (at the left of) the
> axis. Would it be possible to get this automatically by specifying it
> in the axis options of the psgraph environment?

the problem of pstricks-add is the number of optional arguments, which
are really increasing and moving to \infty ... :-)
I will see, what makes sense.

thanks for the report

More information about the PSTricks mailing list