On Mar 24, 2012, at 9:57 AM, Daniel J Sebald wrote: > On 03/24/2012 06:15 AM, Juan Pablo Carbajal wrote: >> On Sat, Mar 24, 2012 at 11:58 AM, Michael Goffioul >> <michael.goffi...@gmail.com> wrote: > >>> Do you mean something like this: >>> >>> figure ('visible', 'off'); >>> plot (...) >>> >>> Michael. >> >> Thanks Michael, >> >> Can anybody using text based output test that? >> It works fine in gnuplot and fltk. > > I don't have the latest development version of Octave. Could someone with a > fairly up-to-date version please confirm this works properly? > > figure ('visible', 'off'); > plot([1:50]); > figure ('visible', 'on'); > > I'm not seeing a graph when the figure becomes visible. Further issuing > > figure ('visible', 'off'); > figure ('visible', 'on'); > > causes a new blank figure to appear. > > Thanks, > > Dan
You need to pass the figure handle. Otherwise each call will create a new figure. The first will be hidden and the second visible. The commands below should do what you want. figure (gcf (), 'visible', 'off'); plot ([1:50]); figure (gcf (), 'visible', 'on'); Ben ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev