octave-maintainers
[Top][All Lists]
Advanced

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

Re: FLTK figure titles


From: Ben Abbott
Subject: Re: FLTK figure titles
Date: Sun, 20 Dec 2009 10:55:23 -0500

On Dec 20, 2009, at 6:46 AM, Shai Ayal wrote:

> On Sun, Dec 20, 2009 at 12:33 PM, Michael Goffioul
> <address@hidden> wrote:
>> On Sun, Dec 20, 2009 at 10:57 AM, Shai Ayal <address@hidden> wrote:
>>> On Sat, Dec 19, 2009 at 11:38 PM, Søren Hauberg <address@hidden> wrote:
>>>> Hi All
>>>> 
>>>> Really small issue, but it somewhat bugs me. If I create a figure using
>>>> the FLTK backend it has the title "octave: figure 1". Could this be
>>>> changed into
>>>> 
>>>>  "Octave: figure 1" (note the different capitalisation),
>>>>  "GNU Octave: figure 1" or
>>>>  "Figure 1"
>>> 
>>> Since it's a very small issue, but which anybody can understand (like
>>> choosing the color of your very hi-tech product),  it opens the
>>> opportunity to really nitpick :
>>> 
>>> I chose the format "octave: figure 1" because from what I remember
>>> from my matlab days (~ 10 years ago) the figure title was "matlab:
>>> figure 1".
>>> 
>>> Since many times the window title will be referenced in the window
>>> manager menu/taskbar where space is at a premium, maybe it is better
>>> to make the title and put the most important info first. i.e.:
>>> "Figure 1, Octave" or maybe even the extreme "F1, Octave"
>>> Or maybe, as in all hard choices,  we can just defer the
>>> responsibility and allow the user to customize.
>> 
>> Why don't you use figure::properties::get_title() ?
> I wasn't aware of this property. I'll fix it
> 
> Shai
> 

If it is desired to be consistent with Matlab, I'm running 2009a. The intitial 
title would be "Figure 1".

The command ...

        > set (gcf, 'name', 'foo')

... produces a window title "Figure 1: foo", and adding the command ...

        > set (gcf, 'numbertitle', 'off')

... produces a window title "foo".

Ben




reply via email to

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