# splines – METAPOST macros for drawing cubic spline interpolants

This is a small package of macros for creating cubic spline interpolants in METAPOST or METAFONT. Given a list of points the macros can produce a closed or a relaxed spline joining them. Given a list of function values y_j at x_j, the result would define the graph of a cubic spline interpolating function y=f(x), which is either periodic or relaxed.

Sources | `/graphics/metapost/contrib/macros/splines` |

Documentation | |

Version | 0.2 |

License | The LaTeX Project Public License 1.3 |

Copyright | 2002–2005 Daniel H. Luecking |

Maintainer | Daniel H. Luecking |

Contained in | TeX Live as splines |

MiKTeX as splines | |

Topics |
graphics generated using METAPOST |

Download the contents of this package in one zip archive (94.2k).

## Suggestions

Maybe you are interested in the following packages as well.

- bpolynomial: Drawing polynomial functions of up to order 3
- exteps: Include EPS figures in METAPOST
- threeddice: Create images of dice with one, two, or three faces showing, using METAPOST
- metapost-matlab: METAPOST data plotting in Matlab style