[pstricks] xLabelsRot

Patrice MÉGRET Patrice.MEGRET at umons.ac.be
Wed Feb 11 10:38:26 CET 2015


Dear Herbert,

Here is an example I took from pst-plot to work with xLabelsRot to rotate the lables on the x axis. It works fine with labels defined by xLabels={...} but not with the default numeric labels. Would it be possible to make xlabelsRot, ylabelsRot also working with automatic numbers on x and y axes?

\documentclass{report}
\usepackage{pstricks-add}

\begin{document}
\psset{xunit=0.75}
\begin{pspicture}(-2,-2)(14,4)
\psaxes[xLabels={,Kerry,Laois,London,Waterford,Clare,Offaly,Galway,Wexford,Dublin,Limerick,Tipperary,Cork,Kilkenny},xLabelsRot=45,yLabels={,low,medium,high},mathLabel=false](14,4)
\end{pspicture}

\begin{pspicture}(-2,-2)(14,4)
\psaxes[xLabelsRot=45,yLabels={,low,medium,high},mathLabel=false](14,4)
\end{pspicture}

\end{document}


Best regards,

Patrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20150211/fcf51c12/attachment.html>


More information about the PSTricks mailing list