How to specify location of the legend in a plot

Matthias Brennwald matthias.brennwald at nagra.ch
Mon Jun 30 07:47:21 CDT 2008


Dear all

I am trying to specify the location of the legend in a plot, but I
can't:

> octave:1> plot(rand(1,10));
> octave:2> legend ('Testing...','location','southwest')
> error: set: invalid value for double property "keypos"
> error: evaluating if command near line 102, column 5
> error: evaluating if command near line 99, column 3
> error: called from `legend' in file `/usr/local/share/octave/3.0.0+/m/plot/legend.m'

What am I doing wrong? This is Octave 3.0.0+ with Gnuplot 4.2 on Ubuntu Linux.

Matthias


-- 
Matthias Brennwald
Project Manager Safety Analysis
Nagra, 5430 Wettingen, Switzerland
+41 56 437 13 32



More information about the Help-octave mailing list