nearest_interp_1d_test, a FORTRAN77 code which calls nearest_interp_1d(), which interpolates a set of data using a piecewise constant interpolant defined by the nearest neighbor criterion, creating graphics files for processing by gnuplot().
The computer code and data files made available on this web page are distributed under the GNU LGPL license.
nearest_interp_1d, a FORTRAN77 code which interpolates a set of data using a piecewise constant interpolant defined by the nearest neighbor criterion, creating graphics files for processing by gnuplot().
The test program makes files which can be used by GNUPLOT to create PNG plots: