Re: cnLinesOn for only specific levels

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Fri Nov 16 2012 - 09:43:41 MST

Hi Yagnesh,
Will's method is a good way to go about it. Another way would be to use
the cnLevelFlags resource:
http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLevelFlags

See example 15 here:
http://www.ncl.ucar.edu/Applications/coneff.shtml#ex15
Adam

On 11/16/2012 12:19 AM, Will Hobbs wrote:
> Yagnesh
>
> I'm sure that there are several ways of doing this, my way would to make 2
> plots; one with lines only using the levels that you would like to
> specify, and one with Fill-only and no lines. You can then merge them
> using the 'overlay()' function.
>
> http://www.ncl.ucar.edu/Applications/overlay.shtml
>
> Will
>
>
> On 16/11/12 6:02 PM, "yagnesh@lowtem.hokudai.ac.jp"
> <yagnesh@lowtem.hokudai.ac.jp> wrote:
>
>> Hello list.,
>>
>> When creating contour plots, I see when cnFillOn is True, we can specify
>> cnLinesOn to True to get contour lines over the color spread.
>>
>> would it be possible to have cnLinesOn only for specific levels instead
>> of all
>> levels that are filled with color.
>>
>> Hope my question is clear.
>>
>> (I know I can work around with overlay by creating the lines and Fill
>> separately)
>>
>> --
>> ఎందరో మహానుభావులు అందరికి వందనములు
>> YYR
>> _______________________________________________
>> 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

-- 
______________________________________________________________
Adam Phillips                                asphilli@ucar.edu
NCAR/Climate and Global Dynamics Division       (303) 497-1726
P.O. Box 3000				
Boulder, CO 80307-3000    http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Nov 16 09:43:50 2012

This archive was generated by hypermail 2.1.8 : Wed Nov 21 2012 - 11:16:05 MST