[ncl-talk] Axes problem

Kreienkamp Frank Frank.Kreienkamp at dwd.de
Mon May 4 23:08:01 MDT 2015


Hello,

your x-axis values (year) are sometimes identical/not unique  (2 x 2000; 4 x 2001 ...). This might cause your problems.

Frank


Von: ncl-talk-bounces at ucar.edu [mailto:ncl-talk-bounces at ucar.edu] Im Auftrag von Theomar Trindade
Gesendet: Dienstag, 5. Mai 2015 03:09
An: ncl-talk at ucar.edu
Betreff: [ncl-talk] Axes problem

Hi,

I'm working with a broked series of time, in an ascii file, like eg.

year = (/2000,2000,2001,2001,2001,2001,2002,2003,2003,2003,2003/)
temp = (/208,209,203,201,201,205,203,205,204,207,206/)

I can plot a variable easily using the gsn_y(wks,temp,res), but when I try
to substitute the x axes it desapear or if I use the gsn_xy(wks,year,temp,res)
it simply show some thing like the first figure attached. I'd like something
as the second, but with the correct year.

Thanks in advance.
--
Theomar Trindade de A. T. Neves
Meteorology Doc Student       | INPE/CPTEC
Doutorando em meteorologia |
Phone: 55(12)32086830
email: theomar_trindade at hotmail.com<mailto:theomar_trindade at hotmail.com>
          theomar.neves at cptec.inpe.br<mailto:theomar.neves at cptec.inpe.br>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150505/a41918b3/attachment.html 


More information about the ncl-talk mailing list