How to specify location of the legend in a plot

Matthias Brennwald matthias.brennwald at nagra.ch
Tue Jul 1 02:21:41 CDT 2008


Thanks for this solution. However, the documentation of the legend
command does not mention the use of numbers to specify the legend
position. In contrast, 'help legend' says to use 'north', 'south',
'east', etc. to specify the legend position. I believe this can be
considered a bug and should be fixed.

Matthias

On Mon, 2008-06-30 at 23:44 -0700, Prof M. N. Anandaram wrote:
> Hello:
> In my Octave3.0.1 with GNUplot 4.2 under WinXP I did this:
> plot(rand(1,10)); legend('Testing', 1)
> In a few seconds the graph appears with the top right corner showing
> 'Testing' along with blue line.
> To get your legend at other corners try 2,3 0r 4 instead of 1 in the
> legend statement. That is all.
> Have a good day.
> Anand
> 
-- 
Matthias Brennwald
Project Manager Safety Analysis
Nagra, 5430 Wettingen, Switzerland
+41 56 437 13 32



More information about the Bug-octave mailing list