[pstricks] Less decimals than defined in axis

Christoph Bersch usenet at bersch.net
Tue Aug 26 15:16:41 CEST 2008


Hi,

Juergen Gilg schrieb:
> 
> there is a PostScript function called _round_.
> 
> You can enter
> 
> 0.37 round which hopefully then delivers 0.4

No, round gives you the nearest integer:

0.37 round -> 0

However, in pstricks-add the counting of the decimals is done on TeX 
side. So the rounding must be implemented also using TeX as the rounded 
result from the Postscript operation cannot be assigned to TeX-code and 
typeset afterwards :-(

Christoph



More information about the PSTricks mailing list