octave-maintainers
[Top][All Lists]
Advanced

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

Re: FLTK refresh required


From: Rik
Subject: Re: FLTK refresh required
Date: Sun, 21 Jul 2013 22:24:00 -0700

On 07/21/2013 05:50 PM, Ben Abbott wrote:
> On Jul 22, 2013, at 2:27 AM, Rik wrote:
>
>> 7/21/13
>>
>> All,
>>
>> Is anyone seeing odd behavior with the FLTK toolkit where the figure is not
>> being refreshed automatically?
>>
>> Specifically, the following very simple code causes problems for me.
>>
>> plot (1:10)
>> close all
>> plot (1:10)
>>
>> The second window frame is drawn but the interior of the window is not
>> drawn.  I have to either issue the command 'refresh' or use the mouse to
>> resize the window in order to see the plot.  I'm wondering if this is
>> indicative of more weird stuff in graphics.cc along with the current issue
>> about subplots.
>>
>> --Rik
> That works for me on Mac OSX.
>
> This reminds me of a changeset I just pushed.
>
>       http://hg.savannah.gnu.org/hgweb/octave/rev/13a12d01aca5
>
> What does ...
>
>       get (gca, "zlim")
>
> ... return?
[0 1]
>
> Does the result render correclty if you ...
>
>       set (gca, "zlim", [-1 1])
It does render correctly.  But I think that is only because setting a
property like zlim sets the modified status on the figure and then the
window is redrawn.

I tried

set (gca, "zlim", [0 1])

and it had the same effect of redrawing the window.

This is clearly something in my system, but it is very, very repeatable so
I think it also involves Octave.

--Rik



reply via email to

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