help-octave
[Top][All Lists]
Advanced

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

Re: Legend help


From: Søren Hauberg
Subject: Re: Legend help
Date: Tue, 07 Nov 2006 21:13:47 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060918)

legend is currently not in octave (I think it depends on programs like awk which might be a problem), so you should download it from octave-forge cvs:
http://octave.cvs.sourceforge.net/*checkout*/octave/octave-forge/main/plot/inst/legend.m?revision=1.1

Søren

Ron Crummett skrev:
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




_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave


reply via email to

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