Hi, Given that the values of ordinates are changing monotonically, I found that in some cases, stineman interpolation is monotonic even when the slopes are not monotonic. And in other cases, it overshoots. Like in the following one:
x = (0, 10, 70, 100) y = (0, 535, 595, 1000) xx = arange(0,100,1) yy = stineman_interp(xx,x,y,yp=None) plot(x,y,'x') plot(xx,yy) Are there some factors that can make the interpolation monotonic, when the slopes are not monotonic? or does it depend on case by case basis?
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users