sastraxi/vizier — Issue #8: Add monotonic interpolation
Author: sastraxi
Created: 2011-10-21 08:50:21+00:00
State: open

Wikipedia has an article on monotonic cubic interpolation: http://en.wikipedia.org/wiki/Monotone_cubic_interpolation

This uses hermite cubic curves. As bezier cubics and hermite cubics can be interchanged through a change of basis, we can implement this using Cairo. This would give us a spline that is guaranteed to not go outside of the bounds of data we already have.

LineSeries should take another parameter, monotonic, which is by default False.