help-octave
[Top][All Lists]
Advanced

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

legend: how??


From: baptiste Auguié
Subject: legend: how??
Date: Fri, 9 Feb 2007 11:54:01 +0000

Dear all,

I'm running octave version 2.9.9, gnuplot Version 4.2 patchlevel rc2, aquaterm enhanced terminal, on a Mac. The only legend I can get on my plots is using,

plot(x,y,';legend goes here;')

legend('   ') returns a very weird error,

pl
'/var/tmp/oct-GJurbD'
u
(
$
1
)
:(
$
2
)
t
line 1
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/local/share/octave/2.9.9/m/ strings/split.m' error: called from `legend' in file `/usr/local/share/octave/2.9.9/ site/m/octave-forge/plot/legend.m'

This looks like a bug, is there a known workaround, even some raw gnuplot trick to use?

I need to pass values to the legend, and I'm plotting multiple curves, so the first option is too limited (as far as i understand it).

Many thanks,

baptiste




reply via email to

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