octave-maintainers
[Top][All Lists]
Advanced

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

RE: How to specify location of the legend in a plot


From: Michael Goffioul
Subject: RE: How to specify location of the legend in a plot
Date: Tue, 1 Jul 2008 10:17:50 +0200

I can reproduce it with recent Hg archive. It seems to be due to the fact
that the axes "keypos" property used to be of type double or string. With
the recent graphics code merge, the property has been turned into a
double-only property. This makes the code of "legend.m" to fail. As this
property is only present for compatibility with gnuplot, I think the easiest
fix is to make the "keypos" property of type any_property.

John, can you take care of it (it's a one-line change), or do you want me
to provide a changeset?

Michael.


On Tue, Jul 1, 2008 at 4:34 AM, Henry F. Mollet <address@hidden> wrote:
> Works for me on Mac with OS v 10.4.11
> GNU Octave, version 3.0.1
> G N U P L O T Version 4.2 patchlevel 3
> Henry
>
>
> on 6/30/08 5:47 AM, Matthias Brennwald at address@hidden wrote:
>
>> 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
>>
>
>
> _______________________________________________
> 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]