Hi Leigh

Leigh Morresi wrote:

> Im trying to get this to plot a linegraph smoothly, based on an external
> device, i expect to see the graph smoothly update 3-4 times per second.
> 
> If i edit the example's setData: loop and change the delay to 0.2 it
> still only updates about once per second or so.
> 
> I've added a "print 'tick'" i can see that this occurs every 200ms to
> STDOUT however the graph is still very slow to update?
> 
> ideas?

Hi Leigh - it's because Veusz only updates every second or so to avoid CPU
load if several things are being modified on the plot. This time is
adjustable, however. If you right-click on the plot, you can adjust the
update time on the "Updates" submenu.

I should add an extra embedding command to change the update frequency from
a program, or force an update immediately. This would be pretty easy to add
if you'd find this useful.

Thanks

Jeremy



_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à