> Is there anyway to use Gnuplot as a library?
The gnuplot [plotting] code makes a fine library. A qt or wx
application need only adjust main() to do some initialization, then
let gui list boxes handle the command history. One problem used to be
that some variables were exposed as globals, but with these wrapped
into structs, we can let any gui panel become a gnuplot output target.