[pstricks] Less decimals than defined in axis
Juergen Gilg
gilg at acrotex.net
Tue Aug 26 14:44:46 CEST 2008
Hello Hans,
there is a PostScript function called _round_.
You can enter
0.37 round which hopefully then delivers 0.4
Regards,
Juergen
Hans Henrik Sievertsen wrote:
> Thanks, worked find. Is it on purpose that the numbers aren't rounded?
> So if the real number is 0.37 and i set the decimals to 1, it shows
> 0.3 and not 0.4?
> Kind regards
> Hans
>
> 2008/8/6 Herbert Voss <Herbert.Voss at fu-berlin.de
> <mailto:Herbert.Voss at fu-berlin.de>>
>
> Hans Henrik Sievertsen schrieb:
>
> > First of all, thanks for a great emaillist.
> > I have a small problem. I try to make the following:
> > \pspicture(0,0)(10,10)
> >
> >
> \psaxes[tickstyle=below,ticksize=4pt,yDecimals=3,Dy=0.03333333,dy=2cm,xAxis=false](10,0)(90,90)
> > \endpspicture
> >
> > But because I'm defining Dy=0.03333333, I get eight decimals.
> Is it
> > possible to get only two decimals?
>
> it was a bug. Try again with
> http://perce.de/LaTeX/pstricks-add/pstricks-add.tex
>
> For MiKTeX wait some days until it will be updated.
>
> Herbert
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org <mailto:PSTricks at tug.org>
> http://tug.org/mailman/listinfo/pstricks
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
--
Jürgen Gilg
Austr. 59
70376 Stuttgart
-------------------------------------
Tel 0711.59 27 88
e-Mail gilg at acrotex.net
Websites www.acrotex.net
www.brueckenkurs-physik.de
www.gilligan-online.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20080826/fa5ee6f2/attachment.html
More information about the PSTricks
mailing list