From owner-bug-octave at bevo dot che dot wisc dot edu Wed Jan 22 22:33:21 1997 Subject: Can't open more than one multiplot figure From: "John W. Eaton" To: Itay Gat cc: bug-octave at bevo dot che dot wisc dot edu Date: Wed, 22 Jan 1997 22:31:54 -0600 On 12-Jan-1997, Itay Gat wrote: : After plotting using 'subplot' you can't open another figure for : more plots. I'm not sure that this is octave bug - it might as well may be : a gnuplot bug (or feature) but I'm reporting that anyway. : : Repeat-By: : --------- : : octave:1> subplot(2,1,1); : octave:2> plot(sin(0:0.1:4*pi)); : octave:3> figure(2) : octave:4> : gnuplot> set term x11 2 : ^ : line 0: You can't change the terminal in multiplot mode As long as gnuplot is used for graphics, it would probably take a fair amount of effort to fix this properly. Since I plan to rewrite most of the plotting support for 2.1 anyway, I don't think it is worth worrying about for now. A workaround is to call oneplot() before figure(): octave:1> subplot(2,1,1); octave:2> plot(sin(0:0.1:4*pi)); octave:3> oneplot(); octave:4> figure(2); jwe