label bar min/max

From: Paula Doubrawa Moreira <pmoreira_at_nyahnyahspammersnyahnyah>
Date: Mon Jul 11 2011 - 13:16:51 MDT

hi all -

I am making a contour plot and I want the min and max values to be 0 and 42.

If using *ManualLevels* as selection mode and setting those values for min
and max, I end up with a plot with limits *-2* and *44 *(instead of 0 and
42). Why does this happen? Can I make the cnMaxLevelValF and cnMinLevelValF
correspond to the exact minimum and max values?

Therefore, to fix that I am having to set the following resources:

    res@cnLevelSelectionMode = "ManualLevels"
    res@cnMinLevelValF = 2.
    res@cnMaxLevelValF = 40.
    res@cnLevelSpacingF = 2.

However, it's not showing the first and last labels (namely 0 and 42) which
is what I want in the first place. Any hints?!

Thanks,

-- 
*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

Received on Mon Jul 11 13:17:01 2011

This archive was generated by hypermail 2.1.8 : Tue Jul 12 2011 - 15:03:53 MDT