[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35393] Switching figure toolkit with graphics
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #35393] Switching figure toolkit with graphics_toolkit() closes figure |
Date: |
Sun, 26 Feb 2012 02:21:04 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11 |
Follow-up Comment #4, bug #35393 (project octave):
The following produces the proper result.
close all
graphics_toolkit fltk;
h1 = figure (1);
graphics_toolkit (h1, "gnuplot"); # Figure disappears
drawnow ()
set (gcf, "__modified__", "on")
graphics_toolkit gnuplot
h2 = figure (2);
graphics_toolkit (h2, "fltk");
Which I infer to indicate the updater needs to do,
update___graphics_toolkit__ (void)
{
feval ("drawnow");
set___modified__ ("on");
}
I'm still struggling to figure out how this should be done.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35393>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/