[pstricks] xlabelPos in psgraph

Patrice MÉGRET Patrice.MEGRET at umons.ac.be
Sat Apr 11 10:01:53 CEST 2015


Dear Herbert,

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}
\psaxes[labelsep=0pt,
ylabelPos=axis,
xlabelPos=axis]{->}(1,1)(3,3)
\end{psgraph}

\vspace{15mm}

\begin{psgraph}[xlabelPos=top](5,5){10cm}{5cm}
\psaxes[labelsep=0pt,
ylabelPos=axis,
xlabelPos=axis]{->}(1,1)(3,3)
\end{psgraph}
\end{document}

Best regards,
Patrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20150411/86944e1e/attachment.html>


More information about the PSTricks mailing list