help-octave
[Top][All Lists]
Advanced

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

Re: help with legend


From: Ben Abbott
Subject: Re: help with legend
Date: Wed, 18 Jan 2012 20:28:45 -0500

On Jan 18, 2012, at 8:23 PM, Valmor de Almeida wrote:

> On 01/17/2012 11:56 AM, Ben Abbott wrote:
>> On Jan 17, 2012, at 11:40 AM, Valmor de Almeida wrote:
>> 
> [snip]
>> 
>> Line 1475 of __go_draw_axes__.m is ...
>> 
>> 1475 [fontname, fontsize] = get_fontname_and_size (hlgnd); 
> 
> I have for this line:
> 
>        [fontname, fontsize] = get_fontname_and_size (obj);

This is suspicious. We're both looking at the 3.6.0 sources correct ?

>> Line 2086 is ...
>> 
>> 2085 function [f, s, fnt, it, bld] = get_fontname_and_size (t)
>> 2086   if (isempty (t.fontname) || strcmp (t.fontname, "*"))
> 
> function [f, s, fnt, it, bld] = get_fontname_and_size (t)
>  if (isempty (t.fontname) || strcmp (t.fontname, "*"))
> 
>> hlgnd on line 1475 is the handle for the legend.
>> 
>> The errors indicate that the legend axes object doesn't include a "fontname" 
>> property, which all axes should
>> 
>> Please verify that "h" does have a fontname property.
>> 
>>      get (h, "fontname")
> 
> I get:
> 
> octave:5> get(h,"fontname")
> ans = Courier
> 
> but the previous command complains
> 
> octave:4> set(h,"fontname","Courier")
> error: structure has no member `fontname'
> 
> I seems there is a bug somewhere?
> 
> Thanks,

Something is wrong, but I can't duplicate it, and have no more ideas.

Ben



reply via email to

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