Search code examples
c++simulationplot

plotting package for c++


I have got a question about plotting package for c++. For last few years I was using python and matplotlib, right now I am using c++ and I would like to find something similar to matplotlib (http://matplotlib.sourceforge.net/gallery.html) like 2d, 3d plots, histograms and so on and so on. I just want to know Your recommendation.


Solution

  • I again would recommend gnuplot.

    If you don't want to use it then I liked plplot when I used it: http://plplot.sourceforge.net/ . The canvas to plplot can be put into gtk+ frame too if you want to add buttons to your plot.

    That said, I returned to gnuplot before too long.