[Top][All Lists]

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

Re: sprintf in gset commands

From: Kai Habel
Subject: Re: sprintf in gset commands
Date: Fri, 24 Nov 2000 12:41:23 +0100

David DS Barnes schrieb:
> 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

Havn't tried, but

cmd = sprintf("gset title ŠÜ"abu: %gŠÜ"",abu)

should work.

Bye Kai

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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