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
Ben,
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