Example pages containing:
tidbits |
resources |
functions/procedures
Pressure/Height vs. Longitude (high-level plot interface)
Data must be in pressure coordinates!
h_long_1.ncl:Creates a simple
default plot.
gsn_csm_pres_hgt plot interface that plots height vs. longitude plots.
Note, this data is already on pressure levels. If this were model data, it would be necessary to interpolate from the hybrid coordinates to pressure levels before plotting.
h_long_2.ncl: Changes the aspect
ratio of the plot.
vpXF = 0.13
vpWidthF = 0.75
vpHeightF = 0.45
Is an example of manually changing the aspect ratio of a plot. For more
examples on different ways to resize a plot, see our
resize special topics page.
h_long_3.ncl: Creates a double
thickness zero line and dashed negative contours. Adds a cyclic point
so that the plot goes from -180 to 180.
gsnContourZeroLineThicknessF doubles the thickness of the zero contour, and gsnContourNegLineDashPattern dashes the negative contours.
h_long_4.ncl:Shades values less than
-10 and greater than +10
ShadeLtGtContour does the shading. Note: ShadeLtGtContour has been superceded by the more versatile gsn_contour_shade. We recommend you use this instead.
There are other contour effects to choose from.
h_long_5.ncl: Creates a color plot.
See the color example page for lots of ways of dealing with color.