Noel
I don't know of an exact resource to do this dynamically, but since nobody else is around then here's my best guess:
if you set the 'cnExplicitLabelBarLabelsOn' resource to 'True', then you can explicitly set the panel label bar legends using the 'lbLabelStrings' array.
If I went down this road, then personally I would set 'cnLevelSelectionMode' the "Explicit", and then use the 'cnLevels' array for the label strings (set to your required format and stride, as required). This approach would ensure that the label bar is definitely showing the same levels as the plots.
Hope that helps
Will
From: Noel Aloysius <noel.aloysius@gmail.com<mailto:noel.aloysius@gmail.com>>
Date: Saturday, 22 December 2012 3:07 PM
To: NCL Talk <ncl-talk@ucar.edu<mailto:ncl-talk@ucar.edu>>
Subject: Contour legend label number format
Hi NCL-talk,
I want to set the number format, to the 2nd decimal, of a common legend in a panel plot. I would like to know which is the correct 'cn' resource for that.
Thanks,
Noel
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Dec 21 23:19:11 2012
This archive was generated by hypermail 2.1.8 : Fri Jan 04 2013 - 15:32:29 MST