[ncl-talk] Positive values shaded and negatives dashed contours

Mary Haley haley at ucar.edu
Fri Oct 16 10:57:35 MDT 2015


To see some examples of using cnLevelFlags, see:

http://www.ncl.ucar.edu/Applications/coneff.shtml#ex15
http://www.ncl.ucar.edu/Applications/contourLab.shtml#ex7

BTW, I found these examples by going to the "Applications" page:

http://www.ncl.ucar.edu/Applications/

clicking on the word "resources" in the sentence at the top:

[List of tips <http://www.ncl.ucar.edu/Applications/concepts_list.shtml>,
resources <http://www.ncl.ucar.edu/Applications/res_list.shtml>,
functions/procedures <http://www.ncl.ucar.edu/Applications/func_list.shtml>
and the example scripts they appear in.]

and then using my browser search to look for "cnLevelFlags".

I realize this clunky and we hope to improve it in the future.

You can also enter "cnLevelFlags" in the "advance search" window on NCL
page, but the example number won't be as obvious.

--Mary



On Thu, Oct 15, 2015 at 12:26 PM, David Brown <dbrown at ucar.edu> wrote:

> The resource cnLevelFlags will allow you to turn off contour lines for
> selected levels and cnLineDashPatterns can be used to set the dash
> pattern for the lines that remain visible.
>  -dave
>
>
> On Thu, Oct 15, 2015 at 7:30 AM, Alan Brammer <abrammer at albany.edu> wrote:
> > Easiest way would be to draw 2 separate plots (a positive one and a
> negative
> > one) and then overlay them.
> >
> >
> >
> > Alan.
> >
> >
> > On 15 Oct 2015, at 06:55, Nirupam Karmakar <nirupam.ju at gmail.com> wrote:
> >
> > Hi,
> >     Does anyone know how to set the contour lines off for positive values
> > and set dashed lines for negative values in a black and white contour
> > figure?
> >
> > --
> > Best Regards,
> >
> > Nirupam Karmakar, PhD Student,
> > Centre for Atmospheric and Oceanic Sciences,
> > Indian Institute of Science, Bangalore.
> > Mobile: +91-9483716347
> > _______________________________________________
> > ncl-talk mailing list
> > ncl-talk at ucar.edu
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >
> >
> >
> > _______________________________________________
> > ncl-talk mailing list
> > ncl-talk at ucar.edu
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151016/82c9ba59/attachment.html 


More information about the ncl-talk mailing list