App example 1

App objects and resource files

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.

Creating the plot using HLU C library calls

The HLU C program that generates this plot is called ap01c.c.

Creating the plot using HLU FORTRAN library calls

The HLU FORTRAN program that generates this plot is called ap01f.f.

Creating the plot using NCL

The NCL script that generates this plot is called ap01n.ncl.

The data

No external data is used in this plot.

How to run this example

The example is installed in the following locations:

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 $