Ngmath example 7

Illustrates the use of ftcurv, ftcurvd, and ftcurvi.

This example can be created using NCL. It demonstrates how to use the Fitgrid package to fit an interpolatory spline under tension to a sequence of functional values (Fitgrid is part of the Ngmath library). Derivatives of the interpolated spline are also calculated, as well as integrals. The name of the source file for this example is nm07n.ncl.

Discussion

This module discusses how to use the Fitgrid package from within NCL.

Creating the plot using HLUs

There is no HLU C program version of this example.

Creating the plot using HLU FORTRAN library calls

There is no HLU Fortran program version of this example.

Creating the plot using NCL

The NCL script that generates this plot is called nm07n.ncl.

The data

This plot does not use any external data.

How to run this example

This example can be generated using an NCL script (nm07n.ncl). The example is installed in the following location:

You can copy this example and run it by typing "ng4ex nm07n". A copy of the source file and resource file will be placed in your current working directory and run through NCL for you.


Quick Start Guide Control Panel

NG4.1 Home, Index, Examples, Glossary, Feedback, QSG Contents, QSG WhereAmI?


$Revision: 1.4 $ $Date: 1999/03/24 17:50:06 $