ContourPlot example 1

Drawing a contour plot using default settings

This example demonstrates how to use HLUs and NCL to create a contour plot with all resources (except data) set to their default values.

Discussion

Resources are controlled through a resource file called cn01.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 cn01c.c.

Creating the plot using HLU FORTRAN library calls

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

Creating the plot using NCL

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

The data

The data for this plot is created in the example's source code.

How to run this example

The examples are installed in the following locations:

The resource file for this example is located in:

You can copy this example and run it by typing "ng4ex cn01c", "ng4ex cn01f", or "ng4ex nc01n". 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 Home, Index, Examples, Glossary, Feedback, QSG Contents, QSG WhereAmI?


$Revision: 1.5 $ $Date: 1995/07/26 23:24:26 $