ContourPlot example 16
This example demonstrates how to combine a vector fill contour plot, a
raster contour plot, and a map plot on a single frame. The names of
the example codes that create this plot are cn16c.c, cn16f.f, and
There is no resource file for this example, as all the resources are
set in the source code.
A detailed discussion about how to create the plot appears in the
comments of the source code for the example.
The HLU C program that generates this plot is
The HLU FORTRAN program that generates this plot is
The NCL script that generates this plot is
The data for this plot is from a netCDF file called sstdata_netcdf.nc which
contains surface temperature for a series of lat/lon points.
The data file is located in your NCAR Graphics data directory in a
subdirectory called "cdf". You can get the name of the data directory
by typing "ncargpath data" at your shell prompt. If you have netCDF
installed on your system, then you can change directory to where the
netCDF file resides and type "ncdump -h sstdata_netcdf.nc" to view the
header information for this data file.
The examples are installed in the following locations:
The netCDF data file is installed in the following location:
You can copy this example and run it by typing "ng4ex cn16c", "ng4ex
cn16f", or "ng4ex cn16n". A copy of the source file and resource file
will be placed in your current working directory. The source code
will be compiled and automatically run for you. You must have the netCDF library
installed on your system in order to compile the C or FORTRAN version
of this example.
Quick Start Guide Control Panel
NG4.1 Home, Index, Examples, Glossary, Feedback, QSG Contents, QSG WhereAmI?
$Revision: 1.5 $ $Date: 1999/03/23 18:34:19 $