[ncl-talk] Plotting area/margin in NCL
Adam Phillips
asphilli at ucar.edu
Tue Apr 27 10:12:20 MDT 2021
Hi Lyndz,
You have three options:
1 - Move the text down. Try setting yy = 0.06 (instead of 0.08) to start.
2 - Move the labelbar up. Try setting res at pmLabelBarOrthogonalPosF = 0.02.
(You will likely have to play with this setting a bit.)
http://www.ncl.ucar.edu/Document/Graphics/Resources/pm.shtml#pmLabelBarOrthogonalPosF
3 - Change the size of the spatial plot, by setting
vpXF/vpYF/vpWidthF/vpHeightF. See any of the examples on the viewport
examples page:
http://www.ncl.ucar.edu/Applications/viewport.shtml
<http://www.ncl.ucar.edu/Applications/viewport.shtml>
If you have further questions please respond to the ncl-talk email list.
Adam
On Tue, Apr 27, 2021 at 1:58 AM Lyndz via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:
> Dear NCL-experts,
>
> I have the following attached script and its corresponding output.
>
> I am plotting land use (24 USGS category) similar to example #1 here:
> https://www.ncl.ucar.edu/Applications/classification.shtml
>
> I am not sure what to add, but the text labels overlapped with the legend
> bar.
>
> [image: Screen Shot 2021-04-27 at 3.56.43 PM.png]
>
>
> Any suggestions on how to fix this?
>
> I'll appreciate any help.
>
> Lyndz
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://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: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210427/441cc657/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2021-04-27 at 3.56.43 PM.png
Type: image/png
Size: 79597 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210427/441cc657/attachment-0001.png>
More information about the ncl-talk
mailing list