
NCL > Application examples > Basic examples
Ngmath example 9
Illustrates the use of ftcurvs and ftcurvps.
This example can be created using NCL. It demonstrates how to use the Fitgrid package to calculate a smoothing spline under tension for a non-periodic function as well as for a periodic function (Fitgrid is part of the Ngmath library). The name of the source file for this example is nm09n.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 nm09n.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 (nm09n.ncl). The example is installed in the following location:
- $NCARG_ROOT/lib/ncarg/nclex/ngmath/nm09n.ncl
working directory and run through NCL for you.