[pstricks] xlabelPos in psgraph

Herbert Voss Herbert.Voss at FU-Berlin.DE
Mon Apr 20 20:43:17 CEST 2015


Am 11.04.2015 um 10:01 schrieb Patrice MÉGRET:

> It seems that the keys xlabelPos=axis and ylabelPos=axis does not work
> as expected in psgraph environment (see example below). Indeed the
> behavior is not the same as for psaxes.
>
> \documentclass{report}
> \usepackage{pstricks-add}
> \begin{document}
> \begin{pspicture}(-3,-3)
> \psaxes{->}(-3,-3)
> \end{pspicture}\hspace{2cm}
> \begin{pspicture}(3,3)
> \psaxes[labelsep=0pt,
> ylabelPos=axis,
> xlabelPos=axis]{->}(3,3)
> \end{pspicture}
>
> \begin{psgraph}[xlabelPos=axis,ylabelPos=axis](5,5){10cm}{5cm}

Patrice,

\psgraph takes \labelsep into account. Use

\begin{psgraph}[xlabelPos=axis,ylabelPos=axis,labelsep=0pt(5,5){10cm}{5cm}


Herbert



More information about the PSTricks mailing list