From help-octave-request at bevo dot che dot wisc dot edu Fri Dec 31 10:43:12 1999 Subject: gshow key From: Ben Sapp To: help-octave at bevo dot che dot wisc dot edu Date: Fri, 31 Dec 1999 09:43:08 -0700 Is there any way to record in an Octave variable the current state of gnuplot's key variable? I would like to do the following in a script: ------------------------------------------- record key state; make key state what I need for next plot; restore old key state; ------------------------------------------- My first attempt looked like this: -------------------------------------------- octave:13> key_state = eval("gshow key") error: value on right hand side of assignment is undefined error: evaluating assignment expression near line 13, column 11 key is ON, position: top right corner key is right justified, not reversed and not boxed sample length is 4 characters vertical spacing is 1 characters width adjustment is 0 characters key title is "" octave:13> key_state error: `key_state' undefined near line 13 column 1 octave:13> ------------------------------------------- Thanks. -- Ben Sapp Los Alamos National Laboratory email: Phone: (505)667-3277 Fax: (505)665-7920 URL: http://www.neutrino.lanl.gov/ -- ----------------------------------------------------------------------- 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 -----------------------------------------------------------------------