help-octave
[Top][All Lists]
Advanced

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

Re: Set the title font size of a figure


From: Ivan Sutoris
Subject: Re: Set the title font size of a figure
Date: Wed, 27 May 2009 08:53:30 +0200

On Wed, May 27, 2009 at 8:11 AM, Carlo de Falco <address@hidden> wrote:
>
> On 27 May 2009, at 00:47, Xin Dong wrote:
>
>> Hi all,
>>
>> I use octave to produce figures for my paper. I found the font size
>> of the title is too small and I need to increase it. However, it
>> seems "-F:size" option only works with text in the figure but not
>> the title and the axis labels. Is there any way that I can set the
>> font size of the title?
>>
>> Thanks,
>> Xin
>
> title ("this is the title", "fontsize", 15)
>
> HTH,
> c.

Or you can use

set(0, 'defaulttextfontsize', 15)

before producing a figure to set default font size for all text
objects. However, this will not work for axes tick labels, so you
still need to use -F:XX' when printing in Octave 3.0.x. In development
version, you can instead set 'defaultaxesfontsize' property directly
as above.

Regards
Ivan Sutoris


reply via email to

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