David,
Thanks for the note. Software exists that solves simultaneous quadratic equations - has anyone tried to interface stuff like that to info for a single segment in a .svg file? - I couldn't find anything . .
Regards,
Phil.
David Gressett wrote:
The two Bezier quadratics that you could extract from the Inkscape file (assuming that the curve representing the function is a single Bezier curve segment) contain all the information that you need. You need to look for "simultaneous quadratic equations". If your curve is in multiple segments, each segment will have to be solved separately, and each segment will have to be represented as a separate y=f(x) function.
Philip Rhoades wrote:
Rob,
Thanks for note - I will check them out but I thought it should be possible to use the information in the .svg file - as long as the curve is a fn, then the formula should be able to be determined . .
Regards,
Phil.
Rob Antonishen wrote:
I believe what you are looking for is either called "curve fitting" or "regression analysis" software.
You would just need to render the svg to a series of X/Y points and run them through this type of software to get a best fit equation (depending on the curve family chosen, of course)
-Rob A>