Last modified: Saturday, 23-Feb-2002 15:32:13 MST

gsn Generic Plot Templates: Vector over Scalars

Vector over Scalar Type Plot Templates

gsn_vector_scalar

Example 3 from Mary Haley's Getting Started with NCL also demonstrates the use of gsn_vector.
gsn_vec_scal_1.ncl: Vectors colored by a scalar field.


gsn_vector_scalar is the generic GSUN plot template that creates vec_scal plots.

vcRefMagnitudeF = 15.0, Defines the reference vector magnitude. Use this to adjust the size of the vectors.

vcRefLengthF = 0.045, Defines the length of the reference vectors.
gsn_vec_scal_2.ncl: Creates a contour plot and a separate vector plot and then overlays them.


gsn_vector is the generic GSUN plot template that creates vector plots.

gsn_contour is the generic GSUN plot template that creates contour plots.

See gsn_contour_3.ncl for how to add a colorbar to this plot.