[ncl-talk] NCL_Add_Grey_Bar_at_Bottom_Vertical_Cross_Section
Dave Allured - NOAA Affiliate
dave.allured at noaa.gov
Tue Aug 4 04:58:48 MDT 2020
In NCL that graphic is best plotted as a long thin rectangle, not a line.
Use the gsn_add_polygon function. Example 2 on that function's
documentation page does almost exactly what you want.
The resources gsnDraw and gsnFrame, and sequencing of the two plot commands
and the draw and frame statements are important. In the order shown, they
cause the polygon to be drawn as an overlay on the base plot, instead of on
a separate page.
On Mon, Aug 3, 2020 at 8:47 PM lslrsgis--- via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:
> Dear NCL Community,
>
> May I know how to add a solid gray horizontal line (representing urban
> area) at bottom of vertial cross section plot as attached figure? Thanks.
>
> What I have found as one similar example is only as follows without bottom
> gray line:
> https://www.ncl.ucar.edu/Applications/Images/wrf_interp_3_lg.png
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200804/884e705c/attachment.html>
More information about the ncl-talk
mailing list