That color map has 16 colors. The first two are white and black.
The color bar shows 22 contour levels. NCL is just rotatiing through all
the colors.
Set
res@gsnSpreadColors = True
Also, it is recommended that all users place the ,hluresfile
located at
http://www.ncl.ucar.edu/Document/Graphics/hlures.shtml
in you home directory.
Specifically, save
http://www.ncl.ucar.edu/Document/Graphics/hluresfile
to your home directory and rename it
mv hluresfile .hluresfile
Good luck
On 4/7/11 2:54 AM, Rashed Mahmood wrote:
>
> Hi all
> I am trying to draw a simple plot in NCL version 6.0.0-beta, it draws
> the plot but the colors seem to be messed up.
> I have attached the plot. Some of the colors drawn are not part of the
> color table I used: "precip_diff_12lev" on url:
> http://www.ncl.ucar.edu/Document/Graphics/ColorTables/precip_diff_12lev.shtml
> May be, I am missing something but I did not encounter such problem in
> version 5.2.
> any comments?
> Regards
> Rashed
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Apr 7 06:52:17 2011
This archive was generated by hypermail 2.1.8 : Fri Apr 08 2011 - 09:34:26 MDT