|
From: Gus G. <gu...@gr...> - 2006-07-03 12:16:43
|
Hi all, Sorry for posting this again but I did not see this in the archives so I'm assuming it didn't make it (even though I did receive my own post back)... I have a data set that is loaded and the user should be able to tweak the points. The problem I'm having is that the curve smoothing on the data plot does not match the results of the spline code. If I use agg::bspline for the interpolation, I see the same problem. In the this screen grab (http://www.grubba.com/agg.png), I've plotted the data using both agg::conv_bspline and data poked directly to memory out of the spline (both AGG and my plot are using the same data set). In this application, there is no "correct" way to handle the data. Whichever way works fine. I just need consistency. The solution is to either find a way for me to have the same data AGG is interpolating or a way for AGG to use my interpolations. My math is not good enough to understand all of this. TIA gus |