问题
I need to plot real time statistics for a data transfer being done using udp (socket) protocol for my project. Stats like the average speed, total throughput, etc.
My code is in C++.
As I googled first, I liked the "koolplot" implementation for plotting 2-D graphs/plots a lot.
But when I compiled it/tried to take up the example koolplot app. I simply wasn't able to resolve the missing "graphics.h".
My best guess is that it's not there in linux. Is it? Thats for BGI graphics under borland. Eh?
Even further I noticed the call for windows.h
How I can use koolplot (without installing/configuring something extra) on my linux box?
Also if somebody could provide me some alternative (simple & less ressource hungry as koolplot, i need it for real-time protocol/transfer stats so performance is not compromised).
I would also like to filter these out of the alternatives:
- WXPlot (not in a mood to install/upgrade a whole bunch of libs and other stuff.. :P)
- DISLIN (isn't it too much for me..? naah)
- VTK (OMG.. now thats something hardcore :X)
BTW what about PLplot, mgrx (fork of grx; grx is pretty old & buggy; wouldn't like to go w/ grx), gnuplot
Last but not the least please do check this research paper on plotting programs/apps here
来源:https://stackoverflow.com/questions/5478466/using-koolplot-on-linux-linux-mint-10-or-is-it-for-mingw-only