Re: one contour

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Aug 22 2011 - 07:18:10 MDT

Hi,

To add to Dave's answer, if you want to see an example that uses cnLevelFlags, you can search our examples page for this resource.

Go to

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

and click on the word "resources" in the top sentence that starts with "[List of tips, resources, ...]"

Give this page some time to load, and then search for "cnLevelFlags". You'll see two examples listed. I recommend clicking on the text in parentheses first so you can then see both the example thumbnail, the short description, *and* the link to the actual script.

In your case, I think the "coneff_15.ncl" example will be the most useful to look at.

--Mary

On Aug 18, 2011, at 10:57 PM, David Brown wrote:

> If you mean a contour line at level 0.5, since the color fill and line contours share the same level array you would need to modify your level array to include a new level at 0.5. You could then explicitly set the contour fill colors so that the intervals [0 , .5] and [.5 , 4] have the same color, and use cnLevelFlags to turn off all lines except the line for the 0.5 level.
> -dave
> On Aug 18, 2011, at 8:51 PM, H.Dang wrote:
>
>> Hello,
>>
>> I have a question about contour plots, say my current contour is color-shaded like: -4, 0, 4, 8... Can I draw only one thick "0.5" line upon them? Thank you for your help.
>>
>> --
>> Cordially,
>> Hongyan(鸿雁)
>> Tel: 1-519-8884567ext36667
>>
>>
>> _______________________________________________
>> 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

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Aug 22 07:18:18 2011

This archive was generated by hypermail 2.1.8 : Mon Aug 22 2011 - 08:13:37 MDT