From help-octave-request at bevo dot che dot wisc dot edu Wed Aug 20 22:50:01 2003 Subject: RE: Octave for Windows? From: To: Date: Wed, 20 Aug 2003 22:42:48 -0500 I figured it out! A variable can not be used in an option or setting that requires a string as the input. The entire command has to be constructed. Example: Instead of gset title (myvar) use e = num2str(.354) myvar = ["This is the max value - ", e] command = sprintf ("gset title \"%s\"", myvar); eval(command); This will resolve to gset title "This is the max value - .354" Thanks for the help. Gregory LeBlanc gleblanc at catholic dot org ----------------------------------------- This email was sent using FREE Catholic Online Webmail. http://webmail.catholic.org/ ------------------------------------------------------------- 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 -------------------------------------------------------------