Mercurial > octave-nkf
diff scripts/plot/private/__gnuplot_print__.m @ 17146:bbda4d952eb5
Fix pop-up of invisible figures during printing.
* scripts/plot/print.m, scripts/plot/private/__fltk_print__.m,
scripts/plot/private/__gnuplot_print__.m: Use 'set (0, "currentfigure", n)
to switch figures so that invisible figures aren't exposed.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 01 Aug 2013 21:25:26 -0700 |
parents | d3beeaf1d363 |
children | c3c1ebfaa7dc |
line wrap: on
line diff
--- a/scripts/plot/private/__gnuplot_print__.m Thu Aug 01 17:47:36 2013 -0700 +++ b/scripts/plot/private/__gnuplot_print__.m Thu Aug 01 21:25:26 2013 -0700 @@ -184,7 +184,7 @@ else mono = false; endif - figure (opts.figure); + set (0, "currentfigure", opts.figure); if (isempty (opts.debug_file) || ! opts.debug) drawnow (term, file, mono); else