octave-maintainers
[Top][All Lists]
Advanced

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

Re: FLTK refresh required


From: Ben Abbott
Subject: Re: FLTK refresh required
Date: Mon, 22 Jul 2013 09:39:20 +0200


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

Maybe this may also be related to a *feature* I see on Mac OSX?  The commands below produce the attached figure.  The axes box should be blank, but the figure size is one line too tall and the zoom/grid buttons are one line to far up from the bottom of the figure (i.e. the bottom of the toolbar should be the bottom of the figure's "position", and the toolbar should be just below that.

figure
axes


This problem looks to be with the intializaiton of the window.  If I do ....

pos = get (gcf (), "position")
set (gcf (), "position", pos+1)
set (gcf (), "position", pos)

... the toobar moves to the bottom, but the figure still has one line too much space at the bottom ("one line" being about the height of the toolbar)

Ben


reply via email to

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