[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"gset output 'filename'" question
From: |
Davide Cavallari |
Subject: |
"gset output 'filename'" question |
Date: |
Tue, 5 Mar 2002 16:19:18 +0100 |
User-agent: |
Mutt/1.2.5.1i |
Is it somehow possible to pass a string variable to the "gset output"
command? I wrote an octave script to plot a graph in a file and I would
like to pass that file's name as an command line argument of the script.
But if I try e.g.
filename = "foo.ps"
the command
gset output filename
complains because it wants a literal, as in
gset output 'foo.ps'
What can I do?
--
Cheers,
Davide Cavallari
/*
* Please skip to the bottom of this file if you ate lunch recently
* -- Alan
*/
-- from Linux kernel pre-2.1.91-1
-------------------------------------------------------------
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
-------------------------------------------------------------
- "gset output 'filename'" question,
Davide Cavallari <=