help-octave
[Top][All Lists]
Advanced

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

Unidentified subject!


From: Eoin Phillips
Subject: Unidentified subject!
Date: Wed, 10 Apr 2002 14:14:52 +0100 (BST)

I was wondering if it's possible to include variables in gset commands?
 Ideally I'd like to have something like:
gset title "Cavity coupling (focal length = %f)"

where f is an Octave variable.  A similar command gives the following
error:
octave:26> gset title wbeam;
octave:27>          line 0: undefined variable: wbeam

octave:28> wbeam
wbeam = 0.0020000

So wbeam is definitely defined as a real scalar, but telling gnuplot to
use it seems to be the problem.  Any ideas?

Eoin

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



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