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 PDL;
use PDL::Graphics::PLplot;

plinit();
plenv(2003, 2005, 2003, 2005, 0, 0);
plend;

produces these labels:

                   |
  2005        +
                   |
  2005        +
                   |
  2004        +
                   |
  2004        +
                   |
  2003   ----+--------+--------+--------+--------+---
                2003    2004     2004     2005     2005

I guess they should read "2003  2003.5  2004  2004.5  2005".

Any suggestions?

Thanks,
Kaj

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general


                           Cliquez sur l'url suivante 
https://www.mailcontrol.com/sr/utEQ1jyLd1rYurjinSLgVjPeMs3TX6DHBAH9dv0iKLuVt5aXW2kXh1U!WTb+97IT!KtJs4xwJ9l70hA+3HhhZZNR4vekHxovPhAiUsXQ5y6WIznxmyac+77vqO9Uz+!FUiOOWpBkUQvYATPAeAOog0CXePp0ZjJT1NfBGhTYfxfQvjPX+biTeqBr5jFqZ44IaqLbnR7sxA4ye1bAgiB5YC5rzMKj6kOL  
                    si ce message est indésirable (pourriel).

  

--
____________________________________________________
Dr. Bruno Picard

CLS
Dir. Océanographie Spatiale, Dép. Traitement de la Mesure et Segment Sol
Space Oceanography Division, Data Analysis and Ground Processing Unit

8-10 rue Hermès, 31520 Ramonville Saint Agne, France
Tél: (+33)5.61.39.37.37 Fax: (+33)5.61.39.37.82
[EMAIL PROTECTED] http://www.cls.fr
http://www.jason.oceanobs.com (aviso site)
http://www.ipcc.ch
____________________________________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to