octave-maintainers
[Top][All Lists]
Advanced

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

Re: Text extent property


From: Michael Goffioul
Subject: Re: Text extent property
Date: Sat, 6 Mar 2010 19:55:30 +0000

On Sat, Mar 6, 2010 at 7:17 PM, Søren Hauberg <address@hidden> wrote:
> lør, 06 03 2010 kl. 18:41 +0000, skrev Michael Goffioul:
>> BTW, could anybody check a few things for me on Matlab?
>> - does "extent" property takes text rotation into account
>
>>> th = text (1, 1, 'Why am I using Matlab, when I could be using
> Octave?');
>>> get (th, 'extent')
>
> ans =
>
>    0.9954    0.9708    0.7218    0.0496
>
>>> set (th, 'Rotation', 45)
>>> get (th, 'extent')
>
> ans =
>
>    0.7816    0.9329    5.5172    1.4052

Did some autoscale take place during the rotation?
The new value seems pretty different from the
original one.

>>> set (th, 'Units', 'Data')
>>> get (th, 'Position')
>
> ans =
>
>    0.7428    0.9317    0.6349

Same question about autoscale.

> Hope that helps

Yes, definitely, thanks.

Michael.



reply via email to

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