help-octave
[Top][All Lists]
Advanced

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

Re: Legend help


From: Ron Crummett
Subject: Re: Legend help
Date: Tue, 07 Nov 2006 19:53:53 -0800
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

That sounds like a good idea. But is legend.m in the Octave distribution? I downloaded 2.9.9 and unpacked it but didn't see a legend function. I did find one in the Octave-forge release but I am using the most recent version of that, and have this problem.

If there are other methods I'm willing to try them, but may need some pointers on setting things up.

-Ron


Joe Koski wrote:
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






reply via email to

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