ContourPlot example 11

Mixing low level and high level utilities

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.

Creating the plot using HLU C library calls

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

Creating the plot using HLU FORTRAN library calls

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

Creating the plot using NCL

An NCL script for this plot has not been created.

The data

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.

How to run this example

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:

The resource file for this example is located in:

The data for the FORTRAN version of this example is located in:

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 $