I have found similar topics on forum but not to answer my problem.
I am working on numerical analysis and I often end up plotting x-y scatter charts or intensity graphs. For this I output files open with excell or origin and plot graphs.
Anyone uses matplotpp or similar library to plot directly from c++ and save as jpg?
Not really. http://matplotlib.org/api/pyplot_summary.html you can see that for phyton there is a library with set of very helpful plot functions that covers pretty much everything.