|
From: | Ben Abbott |
Subject: | [Octave-bug-tracker] [bug #35393] Switching figure toolkit with graphics_toolkit() closes figure |
Date: | Sun, 26 Feb 2012 00:49:50 +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 |
Update of bug #35393 (project octave): Status: None => In Progress Assigned to: None => bpabbott Release: 3.6.0 => dev _______________________________________________________ Follow-up Comment #2: I tried the script below. close all graphics_toolkit fltk; h1 = figure (1); peaks graphics_toolkit (h1, "gnuplot"); # Figure disappears graphics_toolkit gnuplot h2 = figure (2); peaks graphics_toolkit (h2, "fltk"); The result is correct. Figure 1 contains the proper plot in a gnuplot window and figure 2 contains the proper plot in an FLTK window. I don't understand how FLTK knows the window needs to be shut when it is swtiched to gnuplot, but it looks like the fix for the reported problem needs a very simple updater figure::properties::update___graphics_toolkit__ (void) { set___modified__ ("on"); } I'll make an attempt to fix this. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?35393> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |