[ncl-talk] Change LabelBar size in the pres-height plot
Mary Haley
haley at ucar.edu
Fri Dec 9 09:59:14 MST 2016
Bo,
I suggest not setting these two resources:
res at lbAutoManage = False
res at pmLabelBarDisplayMode = "Always"
The other resources you have should be fine, but you are making the values
rather large. The labelbar is likely to fill up most of your page.
See the attached script and image. I took an existing example from the
streamlines page, and made the labelbar extra thick using the
pm*Width/Height resources.
--Mary
On Thu, Dec 8, 2016 at 5:18 PM, Dong, Bo <bdong at albany.edu> wrote:
> Dear NCL users,
>
>
> I was trying to adjust the width and height of the labelbar associated
> with a gsn_csm_pres_hgt_vector plot. The resources I set include:
>
> res at lbAutoManage = False
> res at pmLabelBarDisplayMode = "Always"
> res at pmLabelBarWidthF = 0.6
> res at pmLabelBarHeightF = 0.7
>
> However, it doesn't change anything to the labelbar. For
> gsn_csm_contour_map it works, but not for the gsn_csm_pres_hgt_vector plot
>
> Does anyone know how to set the resources to make it work?
>
>
> Many thanks,
>
> Bo
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161209/a89c358e/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: labelbartest.png
Type: image/png
Size: 443632 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161209/a89c358e/attachment-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gsn_csm_pres_hgt_vector.ncl
Type: application/octet-stream
Size: 2739 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161209/a89c358e/attachment-0001.obj
More information about the ncl-talk
mailing list