help-octave
[Top][All Lists]
Advanced

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

Problems with legend


From: sven.gross
Subject: Problems with legend
Date: Mon, 23 Jun 2003 13:00:39 +0200

I want to do a plot with several waveforms out of a matrix with several rows, 
with each of them having a name in a legend, or key.
But the instruction:  legend('name of first line', 'etc')  is not accepted. I 
downloaded the m-file "legend" from octave-forge but it doesn't work. I only 
get the error: 
legend ('name1','name2') 
awk: not found
error: invalid row index = 0
error: evaluating argument list element number 1
error: evaluating index expression near line 109, column 15
error: evaluating argument list element number 1
error: evaluating index expression near line 109, column 8
error: evaluating prefix operator `!' near line 109, column 7
error: if: error evaluating conditional expression
error: evaluating if command near line 109, column 3
error: called from `legend' in file `/usr/share/octave/2.1.36/m/plot/legend.m'

I think it's not possible for me to use the instruction:
plot(x,y,';legend entry;');
because I can't write plot(x,y,';name1;name2;');

I thank you very much, in advance,  for your answer.

Sven Gross



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