Hi Thomas,
I'm not quite sure I understand what you are asking, but I'll take a
shot at it. You are explicitly setting the label bar strings using
lbLabelStrings, but your contour fill plot does not show the same
contour line labels? (If this isn't correct please clarify your question.)
In that case you need to set cnExplicitLineLabelsOn = True and set
cnLineLabelStrings. For example, lets say you have contour lines that go
from -3 to 3 by 1. You have replaced the label bar labels such as:
res_at_lbLabelStrings = (/"A","B","C","D","E","F","G"/)
then set:
res_at_cnExplicitLineLabelsOn = True
res_at_cnLineLabelStrings = res_at_lbLabelStrings
Your contour label strings should now match your labelbar strings..
Adam
Thomas Froelicher wrote:
> Hi
>
> I use lbLabelStrings to overwrite the default label text. This works without
> problem. But the figure will not been fitted. How can I fit the data to the
> label strings?
>
> Cheers,
>
> thom
> _____________________________________________
>
> Thomas Frölicher
> Climate and Environmental Physics
> Physics Institute, University of Bern
> Sidlerstrasse 5, CH-3012 Bern - Switzerland
>
> phone ++41-31-631-4450
> fax ++41-31-631-8742
>
> mailto:froelicher_at_climate.unibe.ch
> http://www.climate.unibe.ch/
>
> _____________________________________________
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- -------------------------------------------------------------- Adam Phillips asphilli_at_ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 ESSL/CGD/CAS fax: (303) 497-1333 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Wed Nov 16 2005 - 10:12:27 MST
This archive was generated by hypermail 2.2.0 : Wed Nov 16 2005 - 11:50:28 MST