ContourPlot example 11
This example can be created using HLU C and HLU FORTRAN library calls.
This example demonstrates how low level utilities (LLUs) and high
level utilities can be combined to create an NCAR Graphics plot. The
name of the example codes used to create this plot are cn11c.c and
cn11f.f. The LLUs cannot be called from an NCL script, so there is no
NCL version of this example.
Discussion
Resources are controlled through a resource file called
cn11.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 cn11c.c.
The HLU FORTRAN program that generates this plot is
called cn11f.f.
An NCL script for this plot has not been created.
The data for the C version of this example is included in the header
file for the example. The FORTRAN version reads data from an ASCII
data file called cn11f.asc.
This example can be created using a C program (cn11c.c) or a FORTRAN
program (cn11f.f). The examples are installed in the following locations:
- $NCARG_LIB/ncarg/hluex/contourplot/cn11c.c
- $NCARG_LIB/ncarg/hluex/contourplot/cn11f.f
The resource file for this example is located in:
- $NCARG_LIB/ncarg/resfiles/contourplot/cn11.res
The data for the FORTRAN version of this example is located in:
- $NCARG_LIB/ncarg/data/asc/cn11f.asc
You can copy this example and run it by typing "ng4ex cn11c" or "ng4ex
cn11f". 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.9 $ $Date: 1999/03/23 18:34:16 $