[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "gset output 'filename'" question
From: |
Paul Kienzle |
Subject: |
Re: "gset output 'filename'" question |
Date: |
Tue, 5 Mar 2002 11:30:23 -0500 |
eval(["gset output ", filename])
On Tue, Mar 05, 2002 at 04:19:18PM +0100, Davide Cavallari wrote:
> 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
> -------------------------------------------------------------
>
>
-------------------------------------------------------------
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
-------------------------------------------------------------