[ncl-talk] Resend of contour line color issue

Alison Bridger alison.bridger at sjsu.edu
Tue Feb 13 11:44:23 MST 2018


 Hi, This is a re-send with smaller files attached!

I am working on a calculation and decided to start from the ground up (as
opposed to using a pre-written ncl code).

slope4.ncl is attached (it's really simple!)

I make 2 sets of plots in a loop: (1) the field I want ("grad" in wks1) to
file zgrad_gradient_...ps (not attached).

To make sure I know where I am geographically, the 2nd set of plots (wks2)
is *terrain plus shoreline *(file zgrad_terrain_...ps attached)...this is
the main focus of my question.

After a certain amount of hacking, I was able to plot the shoreline (!) and
terrain (!) *BUT I cannot get the contour line colors (or thicknesses) to
change*!

I was under the impression that cnLineColor would fix the color - but no
luck.
I also tried playing with cnLineThicknesses - no luck.

Any help?

Thanks, Alison


-- 

                 Alison F.C. Bridger
                  Professor & Chair

    Department of Meteorology and Climate Science

    San Jose State University      tel  408.924.5206
    One Washington Square          fax  408.924.5191
    San Jose, CA 95192-0104

             email:   Alison.Bridger at sjsu.edu

       *Global CO2 levels...400 ppm and still rising...happy?*


                 www.sjsu.edu/meteorology <http://www.met.sjsu.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180213/3408f0d6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slope4.ncl
Type: application/octet-stream
Size: 5752 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180213/3408f0d6/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zgrad_terrain_Oct302016.ps
Type: application/postscript
Size: 1226288 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180213/3408f0d6/attachment-0001.ps>


More information about the ncl-talk mailing list