XyPlot example 13

How to interactively retrieve coordinate locations from a plot

This example is created using HLU C library calls. It demonstrates how to interactively retrieve coordinate values from a plot using a point-and-click interface. The name of the source file for this example is xy13c.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 xy13c.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 generated from within the HLU program.

How to run this example

There is only one way to produce this example: using a C program (xy13c.c). The example is installed in the following location:

You can copy this example and run it by typing "ng4ex xy13c". A copy of the source 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:25 $