help-octave
[Top][All Lists]
Advanced

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

Re: 2-lines titles in Octaves?


From: Andy Buckle
Subject: Re: 2-lines titles in Octaves?
Date: Tue, 26 Oct 2010 15:44:14 +0100

On Tue, Oct 26, 2010 at 3:33 PM, letcana <address@hidden> wrote:
>
> Hi,
>
> anyone knows if is it possible to add two-line titles in octave?
>
> Matlab command is:
>
> title({'2-lines','title'})
>
> but it gives an error in Octave 3.2.4.
>
>
> Tannks!

This works for me (3.2.4 on win xp mingw build)

>title("foo\nbar")

However, you then have to mess with the position parameter, as the top
line is off the top of the pane. Something like this.

>set(gca(),'position',[ .13 .11 .775 .6])


-- 
/* andy buckle */


reply via email to

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