[ncl-talk] Vertical motion with zonal wind

Mary Haley haley at ucar.edu
Wed Feb 21 12:47:08 MST 2018


Jenny,

In order to do plot overlays of different variables, you need to use the
"overlay" procedure in NCL.

----------------------------------------------------------------

The overlay procedure works one of two ways:

[1] It overlays data from one plot (called the "overlay" plot) into the
data space of another plot (called the "base" plot).

The two plots must have intersecting data spaces for this to work. By "data
space", I mean the range of the X and Y axes of the two plots must
intersect. Otherwise, you will not see the overlay plot at all.

For an example, see overlay_8.ncl at:

http://www.ncl.ucar.edu/Applications/overlay.shtml#ex8

[2] It simply "lines up" the two plots in the same rectangular region and
draws them. It's not as common to do overlays this way, because it requires
that you do all the work of making sure the two plots are in the same data
space.

For an example, see overlay_9.ncl at:

http://www.ncl.ucar.edu/Applications/overlay.shtml#ex9

----------------------------------------------------------------

It doesn't matter whether you are doing contour plots, vector plots, or XY
plots: you can overlay any of these on another one using the "overlay"
procedure.

The "overlay" examples page has several other scripts showing how to use
the overlay procedure. In particular, you might want to look at
overlay_1.ncl, overlay_6.ncl, and/or wrf_gsn_5.ncl:

http://www.ncl.ucar.edu/Applications/overlay.shtml

If you continue to have problems, please post back to ncl-talk and include
your script and a "printVarSummary" of the data you are trying to plot.

Thanks,

--Mary


On Fri, Feb 16, 2018 at 9:59 AM, Jenny Taylor <jenny63taylor91 at gmail.com>
wrote:

> Dear NCL Users,
>
> I am trying to plot vector wind field at different pressure level for
> latitute range 40N-40S. I am following the below mention script;
> https://www.ncl.ucar.edu/Applications/Scripts/h_lat_7.ncl
>
> I am trying to overlay vertical motion (rising/sinking) in vector arrows
> and zonal wind in color scheme.
>
> Can anyone suggest me, in that case which funtion I need to use in it?
> Any help will be appriciated.
>
> Thanks,
> Jenny
>
> _______________________________________________
> 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/20180221/70929a82/attachment.html>


More information about the ncl-talk mailing list