From: Neal Becker (ndbecker2_at_[hidden])
Date: 2007-01-08 13:20:02


Paul A Bristow wrote:

> In producing documentation for John Maddock's Math Toolkit, we have used a
> C++ program to output csv files, with titles in row 1, and data points
> below, usually several columns, to produce .
>
> We then imported this into RJS Graph (version 3.90.10), did a lot of
> fiddling each time to set the axes, labels, colours, point sizes etc, and
> finally exported a .ps file.
>
> Finally (phew!) we opened with Adobe Photoshop, changed size and saved as
> .png files (sample attached).
>
> These were then referenced from Boost Quickbook to make them appear in the
> html and pdf.
>
> There has got to be a better way!!!
>
> Do Boosters have any suggestions/experience on how to automate this
> process, ideally so that a C++ program directly outputs a .png file.
>

I suggest look at grace. It is a wonderful, free graphing app with high
quality output. It can run from the command line, and has various
interfaces, such as python interface.