XyPlot example 12

How to incorporate the HLU library with your own X interface

This example is created using HLU C library calls. It demonstrates how to combine calls to the HLU C library with an X interface. The name of the source file for this example is xy12c.c.

Discussion

This module discusses how to create this plot using HLU C function calls. A resource file is not used with this example.

A detailed discussion of how this example works appears in its source code.

Creating the plot using HLUs

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

Creating the plot using HLU FORTRAN library calls

The HLU FORTRAN program to generate this plot is not available since this example calls routines in the X library.

Creating the plot using NCL

The NCL script to generate this plot is not available since this example calls routines in the X library.

The data

The data for this plot is read from an ASCII file called xy12c.asc. This data is located in $NCARG_LIB/ncarg/data/asc/xy12c.asc.

How to run this example

This example can be produced using a C program (xy12c.c). The example is installed in the following location:

You can copy this example and run it by typing "ng4ex xy12c". A copy of the source file and data 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.8 $ $Date: 1999/03/23 21:15:24 $