What terminal are you setting your gnuplot's to? If I were doing this, I'd output an image ( set terminal png, for example), then use the plugin's stream reader to read the image data into an osg::Image. From here you can display the image in the Producer::RenderSurface with a DrawPixels, or some other method.
-don
On 11/9/06, Esther Foo Rui Tse <[EMAIL PROTECTED]> wrote:
well.. this link will be useful if you wish to interface gnuplot from your application:
http://ndevilla.free.fr/gnuplot/
It talks to a gnuplot process by means of POSIX pipes.
I use it to plot the trajectory of some aerial vehicles within my application during runtime (real-time data plot).
So, is there other way to do real-time data plotting in OSG?
If I continue with gnuplot. is there a way to get the Display of the gnuplot's window, and use Producer::RenderSurface's setDisplay(Display*) method to integrate it with producer?... or am i thinking in a wrong way altogether?
Esther
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
