|
From: <mi...@ph...> - 2005-06-14 22:09:13
|
> I did a wxGnuplot class inside a threaded C++ wxSimulator, with a "wxTerm" providing the familiar gnuplot command line; worked fine. Only significant problem was that a simulator can really only have a single active plot, since some of the core gnuplot data is still global. If these were wrapped in a struct, each plot could have its own gnuplot "data struct", and we could steer any number of > wxGnuplot panels. That single plot is a normal way, as multiple plot windows from a single gnuplot session are available only for X11 terminal. How would the simulator work under native Windows or OS/2 terminals? If it was under X11, have you used the new feature of an x11 handle from sourceforge patches? This patch waits for confirmation that it works. Similar "problem" with one active window is also e.g. under Octave. Once has to run several instances of gnuplot. Works fine. --- PM |