Re: contour levels on a contour map

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed, 10 Oct 2007 13:11:57 -0600 (MDT)

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
>
_______________________________________________
pyngl-talk mailing list
pyngl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Wed Oct 10 2007 - 13:11:57 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 10 2007 - 17:15:05 MDT