on 11/6/06 9:40 PM, Ron Crummett at address@hidden wrote:
Okay, I feel really silly for asking this, but I cannot get the legend
command to work in Octave 2.9.6 - I try typing something like
legend('string1');
and get the error messages
error: split: both s and t must be strings
error: evaluating if command near line 53, column 5
error: evaluating if command near line 48, column 3
error: called from `split' in file
`/usr/share/octave/2.9.6/m/strings/split.m'
error: called from `legend' in file
`/usr/share/octave/2.9.6/site/m/octave-forge//plot/legend.m'
I have no idea why I would be getting these messages. Anyone have some
ideas? Thanks in advance.
-Ron
Ron,
I had the same problem with legend.m in 2.9.6, but the problem has been
fixed in more recent versions. You need to replace legend.m with a more
recent version, either from CVS or from a newer distribution.
Joe