Question

Pretty much the title explains what I try to achieve.

Having a set of points in two dimensions, I want to create somehow the curve tha passes from all these points. Whether it will be a graphical window with the mathematical curve or just a jpg produced, is of no importance.

Any help? Thx!

Was it helpful?

Solution

First of all, please refrain from tagging questions with C and C++, or using the term C/C++. C and C++ are two distinct, very different languages.

That being said, it seems you are looking for a way to plot data. There are different libraries allowing you to do that, among those are:

http://codecutter.org/tools/koolplot/

http://www.gnu.org/software/plotutils/

http://www.mps.mpg.de/dislin/

You can integrate those libraries into your application to produce plots of your data points. There are of course different, additional libraries, but these are the ones that came to my mind first.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top