Basic example 8
This is an introductory example that shows how to draw a plot object,
including any annotations, outside its viewport within a predefined
bounded area of NDC space.
This module describes how to draw a plot within predetermined
boundaries. The procedure draw_bounded_plot is
intended to be useful in this context. There is no resource file
for this example.
A detailed discussion about how to create the plot appears in the
comments of the source code for the example.
The C program that generates this plot is called
basic08c.c.
The FORTRAN program that generates this plot is called
basic08f.f.
The NCL script that generates this plot is called
basic08n.ncl.
No external data are used for this plot.
The examples are installed in the following locations:
- $NCARG_LIB/ncarg/hluex/basic/basic08c.c
- $NCARG_LIB/ncarg/hluex/basic/basic08f.f
- $NCARG_LIB/ncarg/nclex/basic/basic08n.ncl
You can copy this example and run it by typing
"ng4ex basic08f",
"ng4ex basic08c", or "ng4ex basic08n".
A copy of the source file
will be placed in your current working directory, compiled, and
automatically run for you.
Quick Start Guide Control Panel
NG4.1 Home, Index, Examples, Glossary, Feedback, QSG Contents, QSG WhereAmI?
$Revision: 1.6 $ $Date: 1999/03/23 18:28:12 $