views:

951

answers:

4

I am doing a little exploring simulation and I want to show the graphs to compare the performance among the algorithms during run-time.

What library comes to your mind? I highly prefer those that come small as I'd love if it's easy for my instructor to compile my code. I've checked gdchart but it seems to be too heavy. I just want a simple x-y sort of timeline graph.

Google chart is of course out of the question, in case you've read this similar question.

Thanks in advance.


Related:

and perhaps others.

+2  A: 

I've used this "portable plotter". It's very small, multiplatform, easy to use and you can plug it into different graphical libraries. pplot

(Only for the plots part)

If you use or plan to use Qt, another multiplatform solution is Qwt and Qchart

alvatar
This looks promising, the example shown is indeed much simpler than gdchart.
SyaZ
+1  A: 

Honestly, I was in the same boat as you. I've got a C++ Library that I wanted to connect to a graphing utility. I ended up using Boost Python and matplotlib. It was the best one that I could find.

As a side note: I was also wary of licensing. matplotlib and the boost libraries can be integrated into proprietary applications.

sharth
+3  A: 

My favourite has always been gnuplot. It's very extensive, so it might be a bit too complex for your needs though. It is cross-platform and there is a C++ API.

marcog
Thanks, it certainly is a beast, easier to use than pplot too.
SyaZ
A: 

Cern's ROOT produces some pretty nice stuff, I use it to display Neural Network data a lot.

Ed Woodcock