[pstricks] problem with psaxes

Herbert Voss LaTeX at zedat.fu-berlin.de
Mon Nov 14 13:14:38 CET 2005


Alain Matthes wrote:

> This code :
> 
> \psset{xunit =250 cm , yunit =1 cm}
> \begin{pspicture}(0,0)(0.04,4)
> \psaxes[Ox=0.020,yAxis=false,Dx =0.004,labelsep =-15pt,ticksize =-2pt  
> 2pt,comma=false,xDecimals =3]{->}(0,0)(0.04,00)
> \end{pspicture}
> 
> give
> 
> 0.020  0.024 0.028 etc...
> 
> but i change Ox=0.20 by Ox=0.02 the result is :
> 
> 0.020 0.006 0.010 etc ... strange !

Ox and the other values must have the same number
of decimals, otherwise TeX calculates the decimals wrong.

Herbert





More information about the PSTricks mailing list