[ncl-talk] common labelbar levels

Adam Phillips asphilli at ucar.edu
Tue Jun 21 10:59:53 MDT 2016


Hi Noelia,
If you do not set cnLevelSelectionMode (to ManualLevels or ExplicitLevels)
then NCL will determine the contour levels for each individual plot, and
they can be different. See examples 1 and 4 here:
http://www.ncl.ucar.edu/Applications/contourLev.shtml
Hope that helps!
Adam


On Tue, Jun 21, 2016 at 10:45 AM, Noelia otero <noeli1680 at gmail.com> wrote:

> Hi all,
>
> I'm using a common labelbar for several plots. However it isn't working
> properly, because it seems that it is taking the values of the first plot,
> and then, the levels are wrong for the rest of them. I don't know if I have
> to define always "Manual levels"..What I am defining:
>
>   res = True
>   res at gsnAddCyclic   = False
>   res at gsnMaximize    = True
>   res at gsnDraw        = False
>   res at gsnFrame       = False
>   res at lbLabelBarOn   = False ;not individual labelbar
>   res at lbAutoManage   = True
>
>   res at mpMinLatF      = min(lat)
>   res at mpMaxLatF      = max(lat)
>   res at mpMinLonF      = min(lon)
>   res at mpMaxLonF      = max(lon)
>   res at cnLinesOn      = False
>   res at cnFillOn       = True
>
> ;for the panel
>   panelres = True
>   panelres at gsnFrame = False
>   panelres at gsnMaximize = True
>   panelres at gsnMaximize = True
>   panelres at txFontHeightF = 0.01
>   panelres at gsnPanelLabelBar = True
>   panelres at gsnPanelBottom = 0.06
>   panelres at lbLabelFontHeightF = .006
>   panelres at pmLabelBarWidthF = 0.35 ;label bar width
>
> But the levels are wrong...what did I miss?
>
> Many thanks!
>
> Cheers
>
> Noelia
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>


-- 
Adam Phillips
Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/   303-497-1726

<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160621/c595b9fb/attachment.html 


More information about the ncl-talk mailing list