help-octave
[Top][All Lists]
Advanced

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

Re: help with legend


From: Valmor de Almeida
Subject: Re: help with legend
Date: Wed, 18 Jan 2012 20:23:51 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110816 Lightning/1.0b3pre Lanikai/3.1.10

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);

> 
> 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,

--
Valmor

> 
> Ben
> 
> 



reply via email to

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