MapPlot example 4
This example can be created using HLU C library calls, HLU FORTRAN
library calls, and NCL. It demonstrates how to create annotations on a
MapPlot. The name of the example codes that create this plot are mp04c.c,
mp04f.f, and mp01n.ncl.
View this animation.
This module demonstrates how to create a MapPlot object with annotations
for major cities on the globe. The example creates a multiframe sequence
that displays as a rotating globe. Resources for this example are set in a
resource file called mp04.res.
A detailed discussion of how this example works appears in its source
code.
The HLU C program that generates this plot is called
mp04c.c.
The HLU FORTRAN program that generates this plot is called
mp04f.f.
The NCL script that generates this plot is
called mp04n.ncl.
This plot does not use any external data.
The examples are installed in the following locations:
- $NCARG_LIB/ncarg/hluex/mapplot/mp04c.c
- $NCARG_LIB/ncarg/hluex/mapplot/mp04f.f
- $NCARG_LIB/ncarg/nclex/mapplot/mp04n.ncl
You can copy this example and run it by typing "ng4ex mp04c", "ng4ex
mp04f", or "ng4ex mp04n". 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.11 $ $Date: 1999/03/23 18:45:12 $