help-octave
[Top][All Lists]
Advanced

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

Maybe a bug?


From: oxyopes
Subject: Maybe a bug?
Date: Mon, 23 Jul 2007 19:16:37 +0200

Hello,
can someone tell why the code bellow works fine when typed,
but gives an error if saved to a file and ran as 'octave filename'  ?
Using octave -2.1.73

t=(1:1:30)';
plot(t, t.^2, '+')
for n=1:1
legend(sprintf("Index = %d", n))
endfor


reply via email to

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