I have a C++ program that generates some data and i need to generate some charts for that data and to plot some functions.
Is there any free library available that can do that and just generate a png/jpeg(format doesn't matter)?
Google charts is not an option as i want to be able to generate charts even when offline.
views:
136answers:
4
+2
A:
In the past there have been various implementations (C, C++, other) of a API for Gnuplot. I don't know what the current status of these api's is.
Maurits Rijk
2010-01-29 07:53:11
Alternatively you can just generate the input and definitions files and run gnuplot as a subprocess.
ConcernedOfTunbridgeWells
2010-01-29 08:09:42
A:
Create some temporary input and definition files for gnuplot, and run it as a subprocess.
Will
2010-01-29 08:21:00