ContourPlot example 3
This example demonstrates how to create the plot using HLU C library
calls, HLU FORTRAN library calls, or NCL. The names of the example
codes that create this plot are cn03c.c, cn03f.f, and cn03n.ncl.
Discussion
Some of the resources are controlled through a resource file called cn03.res.
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
called cn03c.c.
The HLU FORTRAN program that generates this plot is
called cn03f.f.
The NCL script that generates this plot is called cn03n.ncl.
The data for this plot is defined in the header file (cn03c.h) for the C example and
in an ASCII data file (cn03f.asc) for the FORTRAN example.
This example can be created using a C program (cn03c.c), a FORTRAN
program (cn03f.f), or an NCL script (cn03n.ncl). The examples are
installed in the following locations:
- $NCARG_LIB/ncarg/hluex/contourplot/cn03c.c
- $NCARG_LIB/ncarg/hluex/contourplot/cn03f.f
- $NCARG_LIB/ncarg/nclex/contourplot/cn03n.ncl
The resource file for this example is located in:
- $NCARG_LIB/ncarg/resfiles/contourplot/cn03.res
The data for the FORTRAN version of this example is located in:
- $NCARG_LIB/ncarg/data/asc/cn03f.asc
You can copy this example and run it by typing "ng4ex cn03c", "ng4ex
cn03f", or "ng4ex cn03n". 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.
Quick Start Guide Control Panel
NG4.1 Home, Index, Examples, Glossary, Feedback, QSG Contents, QSG WhereAmI?
$Revision: 1.10 $ $Date: 1999/03/23 18:34:11 $