[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sprintf in gset commands
From: |
David DS Barnes |
Subject: |
sprintf in gset commands |
Date: |
Fri, 24 Nov 2000 11:20:36 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux 2.2.16 i686; en-US; m18) Gecko/20001010 |
Hi All,
I have been trying to add data to titles/labels/etc
by using :
abu=1.2;
gset title sprintf('abu : %g',abu)
but I just get back :
set title sprintf('abu : %g' , abu)
^
line 0: invalid expression
so does anyone know a way that works?
Thanks,
David
--
David DS Barnes
mech eng dept, imperial college | t/f:0207 594 7181/7127
exhibition rd, london, sw7 2bx | http://www.metaphorm.iwarp.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
-------------------------------------------------------------
- sprintf in gset commands,
David DS Barnes <=