App example 1
This example demonstrates how App objects and resource files work
together to define the values for object resources.
Discussion
This module demonstrates how to create an App object and how entries
in a resource file take precedence over one another.
The resource file used in this example is called
ap01.res.
For a detailed discussion of how this example works, please see the
source code. Also, see the User Guide for a discussion about
resource
precedence.
The HLU C program that generates this plot is
called ap01c.c.
The HLU FORTRAN program that generates this plot is
called ap01f.f.
The NCL script that generates this plot is
called ap01n.ncl.
No external data is used in this plot.
The example is installed in the following locations:
- $NCARG_LIB/ncarg/hluex/app/ap01c.c
- $NCARG_LIB/ncarg/hluex/app/ap01f.f
- $NCARG_LIB/ncarg/nclex/app/ap01n.ncl
You can copy this example and run it by typing "ng4ex ap01c", "ng4ex
ap01f", or "ng4ex ap01n". 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:21:44 $