[ncl-talk] different labels than contour interval

Don Murray (NOAA Affiliate) don.murray at noaa.gov
Thu Nov 13 09:21:52 MST 2014


Thanks.  I need to have the contours in the plot displayed/filled at 
every 1 mm, but want the label bar to label only certain values.

Don

On 11/13/14 9:13 AM, mamadoulamine.mbaye at ucad.edu.sn wrote:
> try  res at cnLevelSpacingF   = 10. that gives you (5,15,25,35,45,55,65)
> or change your min to 10 and max to 60 for (10,20,30,40,50,60)
>
>
> ________________________________________
> De : ncl-talk-bounces at ucar.edu <ncl-talk-bounces at ucar.edu> de la part de Don Murray (NOAA Affiliate) <don.murray at noaa.gov>
> Envoyé : jeudi 13 novembre 2014 08:02
> À : ncl-talk at ucar.edu
> Objet : [ncl-talk] different labels than contour interval
>
> Hi-
>
> I've read through the label bar examples, but I'm not finding the
> answer, so I'll ask here.
>
> I have a dataset that I'm drawing with filled contours, defined as:
>
>     res at cnLevelSelectionMode = "ManualLevels"
>     res at cnMinLevelValF    = 5.
>     res at cnMaxLevelValF    = 65.
>     res at cnLevelSpacingF   = 1
>
> over a colormap with 241 values.
>
> For the label bar, I'd like to just have labels every 10 units
> (10,20,30,40,50,60), but I'm not sure how to set the label values.
>
> I'm sure I'm missing something simple, but help is appreciated.
>
> Thanks.
>
> Don
> --
> Don Murray
> NOAA/ESRL/PSD and CU-CIRES
> 303-497-3596
> http://www.esrl.noaa.gov/psd/people/don.murray/
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

-- 
Don Murray
NOAA/ESRL/PSD and CU-CIRES
303-497-3596
http://www.esrl.noaa.gov/psd/people/don.murray/


More information about the ncl-talk mailing list