I would have thought the following would work.
res@cnLevelSelectionMode = "ManualLevels" ; set manual contour levels
res@cnMinLevelValF = 24.0 ; set min contour level
res@cnMaxLevelValF = 29 ; set max contour level
res@cnLevelSpacingF = 0.10 ; set contour spacing
On 08/19/2011 07:03 PM, Paula Doubrawa Moreira wrote:
> Hi-
>
> does any one know of a way to use explicit or manual contour levels for
> a scalar field when using the function *gsn_csm_vector_scalar* ?
>
> I tried setting the attributes cnLevelSelectionMode along with
> cnMinLevelValF and cnMaxLevelValF to my resource variable, but it tells
> me *it's not a valid resource*.
>
> Any hints?
>
> Thank you so much!
> Paula
>
> --
> *Paula Doubrawa Moreira*/
> /Graduate Student - Research Assistant
> International Arctic Research Center
> University of Alaska Fairbanks
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- ====================================================== Dennis J. Shea tel: 303-497-1361 | P.O. Box 3000 fax: 303-497-1333 | Climate Analysis Section | Climate & Global Dynamics Div. | National Center for Atmospheric Research | Boulder, CO 80307 | USA email: shea 'at' ucar.edu | ====================================================== _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Tue Aug 23 09:55:43 2011
This archive was generated by hypermail 2.1.8 : Thu Aug 25 2011 - 09:54:48 MDT