Re: [Plplot-general] Numeric label problem

2008-03-05 Thread Kaj Wiik
2008/3/5, Bruno Picard <[EMAIL PROTECTED]>: > maybe you should have a look on plsxax and plsyax that set the number of > digits for the respective axis labels. That worked, thanks! In fact I used plprec(1,1) but the idea is the same. Cheers, Kaj ---

Re: [Plplot-general] Numeric label problem

2008-03-05 Thread Kåre Edvardsen
I'm not sure, but I think the "plenv ()" call wants 4 major ticks. If you use 2006 instead of 2005 it will work... This also goes for the "plwind ()" call, so I think it's a general thing that graphics bokses wants at least 4 major ticks to display proper. I agree it's a bug... Cheers, Kåre On W

Re: [Plplot-general] Numeric label problem

2008-03-05 Thread Bruno Picard
Hi Kaj, maybe you should have a look on plsxax and plsyax that set the number of digits for the respective axis labels. Bruno Kaj Wiik a écrit : Hi! There seems to be a bug in the algorithm that determines the numeric labes for axes. It is easier to show than explain.. This code: use PD

[Plplot-general] Numeric label problem

2008-03-05 Thread Kaj Wiik
Hi! There seems to be a bug in the algorithm that determines the numeric labes for axes. It is easier to show than explain.. This code: use PDL; use PDL::Graphics::PLplot; plinit(); plenv(2003, 2005, 2003, 2005, 0, 0); plend; produces these labels: | 2005+

Re: [Plplot-general] Numeric label problem

2008-03-05 Thread Kaj Wiik
Forgot to mention library version: 5.6.1-11ubuntu1 (gutsy) 2008/3/5, Kaj Wiik <[EMAIL PROTECTED]>: > Hi! > > There seems to be a bug in the algorithm that determines the numeric > labes for axes. It is easier to show than explain.. This code: > > use PDL; > use PDL::Graphics::PLplot; > > plin