# 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 |

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.

- hatching: METAPOST macros for hatching interior of closed paths
- mpattern: Patterns in METAPOST
- textpath: Setting text along a path with METAPOST
- roundrect: METAPOST macros for highly configurable rounded rectangles (optionally with text)