Example pages containing:
tips |
resources |
functions/procedures
NCL Graphics: Pressure/Height vs. Longitude (high-level plot interface)
Data must be in pressure coordinates!
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.
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.
gsnContourZeroLineThicknessF doubles the thickness of the zero contour, and gsnContourNegLineDashPattern dashes the negative contours.
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.
See the color example page for lots of ways of dealing with color.
ESMF Example 30 was run twice: bilinear and conservative interpolation. Bilinear interpolation would generally be appropriate for any reasonably smooth variable. Conservation interpolation would be recommended for interpolating flux quantities and variables that can be fractal (eg precipitation).