help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: plot to file from executable script -problem refined


From: Rafael Laboissiere
Subject: Re: plot to file from executable script -problem refined
Date: Wed, 30 Jan 2002 10:35:11 -0600

* Pierre-Andre Cornillon <address@hidden> [2002-01-30 12:36]:

> If you use eval it could be ok :
> eval(['gset output',filename,';'])

It is always good to test before posting.  The correct command is :

    eval(['gset output "',filename,'";'])

or

    eval(sprintf("gset output \"%s\", filename))

-- 
Rafael



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]