octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FLTK plotting speed irregularities


From: Rik
Subject: FLTK plotting speed irregularities
Date: Mon, 05 Aug 2013 17:10:29 -0700

8/5/13

All,

I just checked in changes that speed up the comet, comet3 animations by
400%.  But, I'm seeing something odd.  If I run the test code below it
takes 3.8 seconds.

Sample code:

clf;
t = 0:pi/20:5*pi;
x = cos(t);
y = sin(t);
z = t;
tic; comet3 (x,y,z,0); toc

Now, if I click on the plot window with the mouse, click back on the
terminal window to regain focus on the CLI, and re-run the comet command it
takes just 2.2 seconds (-42%).  What's going on here?

I've tried re-running the comet3 command multiple times in a row and it
always gives the longer time *until* I click on the plot figure.

Cheers,
Rik



reply via email to

[Prev in Thread] Current Thread [Next in Thread]