Re: Getting Started examples: color settings

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed, 24 Jun 2009 09:08:20 -0600

Hi Bold,

This example uses the default colormap (not a very good one for
contours).
What would cause these differences, then, is if you are changing your
color map.

The picture you're getting is definitely from using a different color
map.

If your .hluresfile has a setting for "wkColorMap", then this is what's
causing your color map to look different. Even though this file is in
your
home directory, it gets loaded no matter where you run NCL from.
This is the point of the .hluresfile.

To get the color map like the one in the example, you would either
need to remove or comment out the "wkColorMap" setting in
your .hluresfile, or else change the color map in example 2 with:

   xwks = gsn_open_wks("x11","gsun02n") ; Open an X11 workstation.
   gsn_define_colormap(xwks,"default")

--Mary

On Jun 24, 2009, at 4:32 AM, B N wrote:

> Hi. While running the 2nd example script in the "Getting Started"
> section of the NCL website,
> http://www.ncl.ucar.edu/Document/Manuals/Getting_Started/Examples/
> gsun02n.shtml,
> I noticed that my color plots look nothing like the examples. I have
> attached an image of the plot I am getting ("Picture 34", all purple
> and black) and then an image of the image I am supposed to get
> ("Picture 35", from the NCL web site). (By the way, I'm getting the
> correct B&W examples.)
>
> What could be causing this difference in the color plots?
>
> I don't think that this has anything to do with the .hluresfile
> because I have this in my home directory.
> Will this cause problems later on?
> Thank you for helping the newbie.
> -Bold<Picture 34.png><Picture
> 35.png>_______________________________________________
> 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 Wed Jun 24 2009 - 09:08:20 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 25 2009 - 06:30:15 MDT