From help-octave-request at octave dot org Fri Apr 23 11:11:43 2004 Subject: Re: subplot and clf/clg broken on 2.1.57? From: Joe Koski To: , Octave Help Date: Fri, 23 Apr 2004 10:10:49 -0600 This may be a red herring, but when I had problems with clf/clg right after I changed to 2.1.57, I had not set automatic_replot = 0; before the plot or in my .octaverc. When I did put that line in, things started working as before. Apparently the default on this variable has changed for consistency with Matlab. You may want to give this a try. Joe Koski on 4/23/04 8:13 AM, Fredrik Lingvall at Fredrik dot Lingvall at signal dot uu dot se wrote: > When I do for example, > > figure(1) > subplot(3,1,1) > plot(randn(100,1)) > subplot(3,1,2) > plot(randn(100,1)) > subplot(3,1,3) > plot(randn(100,1)) > > the second subplot contains the axis and data from also the first one. > The the third subplot plots all three of them. > > Also, clf (from octave-forge) and clg only removes the labels, legends, > and grid but > not the data from the plot. gnuplot also starts to plot in 'dot'-mode > after a clf/clg. > > Fredrik > > > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ------------------------------------------------------------- > ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------