Re: contour levels on a contour map

From: Ivan Lima <ivan_at_nyahnyahspammersnyahnyah>
Date: Wed, 10 Oct 2007 19:54:18 -0400

  Hi Mary,

  Thanks for the fast response. Your suggestion worked fine.

  Thanks,

  - Ivan

On Wed, Oct 10, 2007, Mary Haley wrote:

>
> Hi Ivan,
>
> The "contour_map" id is actually a map id. To get at the contour
> id, try:
>
> clev = Ngl.get_float_array(contour_map.contour,'cnLevels')
>
> I see that we should add some examples to our documentation about
> this. Will do that shortly.
>
> --Mary
>
>
> On Wed, 10 Oct 2007, Ivan Lima wrote:
>
>> Hi all,
>>
>> How do I get the contour levels from a contour map?
>>
>> clev = Ngl.get_float_array(contour_map,'cnLevels')
>>
>> gives me:
>>
>> warning:cnLevels is not a valid resource in map at this time
>> warning:NhlGetValues:Error retrieving cnLevels
>>
>> Thanks,
>>
>> - Ivan
>>
>> --
>> Ivan Lima
>> Woods Hole Oceanographic Institution, MC&G MS #25
>> 360 Woods Hole Road, Woods Hole, MA 02543-1543 USA
>>
>> _______________________________________________
>> pyngl-talk mailing list
>> pyngl-talk_at_ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>>
>
Received on Wed Oct 10 2007 - 17:54:18 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 15 2007 - 08:07:32 MDT