[ncl-talk] problem with explicit label strings
Anne
anne.seidenglanz at unive.it
Sun Feb 3 07:46:30 MST 2019
Hi,
I have used
res at cnExplicitLabelBarLabelsOn = True
res at lbLabelStrings = (/-0.2, -0.15, -0.1, -0.5, 0.5, 1.0, 1.5, 2.0/)
to get explicit label bar labels. That seems to work fine only if I comment
or set lbLabelFontHeightF to quite small so each label can fit on the label
bar. However, this way the labels are way to small and also I feel they
would still fit if I had chosen a larger font height.
I attach 2 plots, one where I commented lbLabelFontHeightF which results in
very small labels, and one which it automatically skips some of my
explicitly set labels because they're too big.
Is there a solution to this problem?
Even if I do (res at lbLabelStrings = (/"-0.2", "-0.15", "",
"-0.5","0.5","","1.5","2.0"/) doesn't do what I want. I also set
lbAutoManage to False but this didn't make a difference.
My ultimate goal is to have labels *symmetric* around zero (also every 2nd
is fine), and they must be BIG enough.
Thanks for any help!
Anne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190203/abb60721/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: labels_too_small.png
Type: image/png
Size: 45198 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190203/abb60721/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asymmetric_labels.png
Type: image/png
Size: 45935 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190203/abb60721/attachment-0001.png>
More information about the ncl-talk
mailing list