问题
I am looking for a simple c++ 2d plotting tool for Linux (to be more honest "Cross-platform").
"koolplot" is nice but I think it's for windows only since its code includes graphics.h and windows.h.
Someone suggested Qt's QPainter, but I cannot even use it to draw a single point. :'(
So, if there is any help on other plotting tool or a decent tutorial on Qt's QPainter, I would be very grateful.
Thanks.
回答1:
Check out Qwt. It's worked well for all of my 2D applications, plus it's cross-platform.
回答2:
MathGL is cross-platform GPL plotting library, and it have QMathGL widget for Qt.
来源:https://stackoverflow.com/questions/5773553/c-2d-plotting-tool-for-linux