Hi
I would like to use PLplot to display experimental data as it is generated, i.e
have the plot updated "live". I have tried a loop construct as per the pseudo
code below, but I can only get the plot to update by clicking on mouse button
3. Any help/suggestions would be greatly appreciated.
int main()
{
double x[n];
double y[n];
plsdev("xwin");
plinit();
for (;;) { // Wait for new data and update x & y arrays
plenv(...); // Set new x & y ranges
plline(...); // Plot new data
}
plend();
exit(0);
}
Kind regards
John
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general