octave-maintainers
[Top][All Lists]
Advanced

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

Re: log plots and labels in fltk


From: Shai Ayal
Subject: Re: log plots and labels in fltk
Date: Wed, 27 Jan 2010 20:12:08 +0200

On Wed, Jan 27, 2010 at 2:01 AM, Michael D. Godfrey
<address@hidden> wrote:
> Can you now think about the fact that the script does
> not draw the plot when it encounters each "pause".

A part of the problem is that pause does not periodically call the
"input_event_hook" function.
While it does call drawnow(), it is not enough -- i.e. after a pause()
command resizing the figure window will not refresh the window
contents.

I looked at the pause function in src/sysdep.cc and it looks to be
doing many intricate things through the octave_kbhit functions.

Will changing octave_kbhit to use readline's rl_read_key &
rl_set_keyboard_input_timeout (which call the input_event_hook) break
anything?

for the readline function reference:
http://tiswww.case.edu/php/chet/readline/readline.html#SEC37

Shai


reply via email to

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