help-octave
[Top][All Lists]
Advanced

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

Re: Gnuplot labels


From: Rolf Fabian
Subject: Re: Gnuplot labels
Date: Wed, 28 Mar 2001 13:09:22 +0200

|Hard coded labels work like
|gset label 1 "I = 23 mA"
|
|But the following does not work
|lab="I = 23 mA"
|gset label 1 lab

try
k=1;    # label 1
lab="23 mA";
eval( sprintf ("gset label %d %s", k, lab))

Rolf




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