interpol – Add interpolation to METAPOST graph package
This file declares a new internal quantity interpolating and modifies the augment and Mreadpath routines of the METAPOST graph package (part of the base METAPOST distribution) to construct a path from data points using Bezier curves instead of polygons (line segments) when interpolating is set positive.
Use of this feature can lead to severe distortions if the data isn't suitable. Its usefulness may best be seen when plotting smooth functions evaluated numerically at discrete intervals.
Maybe you are interested in the following packages as well.
- bpolynomial: Drawing polynomial functions of up to order 3
- cmarrows: METAPOST arrows and braces in the Computer Modern style
- latexmp: Interface for LaTeX-based typesetting in METAPOST
- metapost-matlab: METAPOST data plotting in Matlab style