[llnl.x] Need real-time plotting update algorithm

chapman@lll-crg.llnl.gov (Carol Chapman) (03/22/91)

I am in search of a good algorithm for updating a real-time plot.  The
plotting may be done in just about any unit of time:  seconds,
minutes, hours, etc. and there may be multiple plots on one graph.  I
need to calculate how often I can update each plot.  The user won't be
able to see a difference if I update too often, but will complain
bitterly if updates don't occur often enough.  I believe I also need
to take into account how many plots are on the graph, so that they
don't slow each other down in their haste to update.  My X axis represents
time.  The plotter is a widget (custom), so I know I will have to recalculate
everytime the widget is resized.  

Surely someone out there has dealt with this before?

thanx,
carol

P.S.  I'm using C and Motif 1.1 on a VMS system, if that makes a
difference.

Carol Chapman                                        Tel. (415) 423-7876
Livermore National Laboratory                NEW -->  chapman@.llnl.gov
P. O. Box 808, L-572            "Are you in charge here?"
Livermore, CA  94550            "No, but I'm full of ideas!"  -- Dr. Who