[pstricks] yLabels={...} problem is psgraph
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Wed Aug 30 19:25:59 CEST 2017
Am 30.08.2017 um 15:28 schrieb Patrice MEGRET:
> This version has still problems when:
Dear Patrice,
I see.
> * Dx,Dy are not equal to 1
but where is the sense to use these arguments when having
\xLabels?
>
> * (x1,y1)(x2,y2) if x1 or y1 is less than -1
>
> *(x1,y1)(x2,y2) if x2 or y2 is more negative than x1, y1
>
>
> Please find enclosed a modified version of the code that should work for every combinations of Dx,Dy, x1,y1,x2,y2.
\multido{\nA=0+1,\rA=0+\psk at Dx}{\pst at pmtempe}{%
\ifdim \nA pt < \z@ \def\nB{-\nA} \else \def\nB{\nA} \fi
\uput{\psxlabelsep}[\pst at tempC]{\pst at xLabelsRot}(\rA,0){%
\strut\expandafter\pshlabel\expandafter{\psPutXLabel{\nB}}}}%
what is the meaning of "\nA pt < \z@"? \nA is by default a natural
number and cannot be negativ. Maybe you mean "\rA pt < \z@"??
Herbert
More information about the PSTricks
mailing list