
NCL > Application examples > Basic examples
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:
- $NCARG_ROOT/lib/ncarg/hluex/xyplot/xy13c.c