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.
Related post Scatter Plots in C++.
You can draw lines between points to get a very good "graph" impression, but be careful not to incorrectly represent at definition gaps. E.g. drawing a line from (X=-0.1,Y=1/-0,1) to (X=0.1,Y=1/0,1) would be wrong. line(x1, y1, x2, y2);
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With