From bug-octave-request at bevo dot che dot wisc dot edu Thu Aug 31 06:31:58 2000 Subject: RE: diary off From: "Julian A. de Marchi, Ph.D." To: "Paul Soderlind" , Date: Thu, 31 Aug 2000 07:31:51 -0400 I could add to this, I noticed yesterday that the grid function is sparsely supported at best: 1) repeated issuances of octave:1>grid octave:2>grid octave:3>grid ought to alternately flip the plot grid on and off, but doesn't 2) these didn't work for me either (GNU Octave, version 2.1.31 i586-pc-cygwin/G N U P L O T MS-Windows 32 bit version 3.7): octave:1>grid on octave:2>grid off While I'm worrying about GNUPlot: octave:1> figure warning: empty matrix found in matrix list near line 48, column 49 ans = 1 (with no plots open) generated the following in the GNUPlot terminal window: Terminal type set to 'windows' gnuplot> set data style lines gnuplot> set term x11 1 ^ unknown or ambiguous terminal type; type just 'set terminal' for a list ..which struck me as odd since it seems terminal type was already set from what I see above.. Subsequent plot commands now fail outright, I have to re-launch Octave and try again by starting with plot instead of figure. Cheers, Julian : -----Original Message----- : From: bug-octave-request at bevo dot che dot wisc dot edu : [mailto:bug-octave-request at bevo dot che dot wisc dot edu]On Behalf Of Paul Soderlind : Sent: Thursday, August 31, 2000 03:11 : To: bug-octave at bevo dot che dot wisc dot edu : Subject: diary off : : : : Hi, : : I often use diary('filename') to print the results from my script files - : but diary off/on does not seem to work during the : execution of the script, which is a bit annoying (and different from how : MatLab works). : : An example: : : --------------------code starts here--------------------------- : diary('diaryTst.out'); : disp('Hello'); : : diary off; : for i = 1:100; : disp(i); : end; : diary on; : : disp('world'); : diary off; : --------------------code ends here--------------------------- : : : In MatLab this surpresses the printing during the loop; on Octave it : doesn't. : : : Sincerely, : : : Paul Soderlind : : : ******************************************************** : Paul Söderlind : Stockholm School of Economics : PO Box 6501 (or Sveav. 65) : SE-113 83 Stockholm : Sweden : : email: Paul dot Soderlind at hhs dot se : homepage: http://www.hhs.se/personal/psoderlind/ : : telephone: +46-8-7369601 : ******************************************************** : : : : ----------------------------------------------------------------------- : Octave is freely available under the terms of the GNU GPL. : : Octave's home on the web: http://www.che.wisc.edu/octave/octave.html : How to fund new projects: http://www.che.wisc.edu/octave/funding.html : Subscription information: http://www.che.wisc.edu/octave/archive.html : ----------------------------------------------------------------------- : ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------