ContourPlot example 1
This example demonstrates how to use HLUs or NCL to create a
contour plot with all resources (except data) set to their default
values. The names of the example codes that create this plot
are cn01c.c, cn01f.f, and cn01n.ncl.
Discussion
Resources are controlled through a resource file called cn01.res, but at the
moment there are no resources in this file.
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 cn01c.c.
The HLU FORTRAN program that generates this plot is
called cn01f.f.
The NCL script that generates this plot is
called cn01n.ncl.
The data for this plot is created in the example's source code.
The examples are installed in the following locations:
- $NCARG_LIB/ncarg/hluex/contourplot/cn01c.c
- $NCARG_LIB/ncarg/hluex/contourplot/cn01f.f
- $NCARG_LIB/ncarg/nclex/contourplot/cn01n.ncl
The resource file for this example is located in:
- $NCARG_LIB/ncarg/resfiles/contourplot/cn01.res
You can copy this example and run it by typing
"ng4ex cn01c",
"ng4ex cn01f", or "ng4ex cn01n". 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:09 $