"David" <dave.reens@gmail.com> wrote in message
news:nm01kb$g4v$1@newscl01ah.mathworks.com...
> "Casper " <casper.ptrsn@gmail.com> wrote in message
> <jl9js3$brd$1@newscl01ah.mathworks.com>...
>> "rahul " <rahuliitk@gmail.com> wrote in message
>> <jl90e6$8cp$1@newscl01ah.mathworks.com>...
>> > could anyone please tell me how can I rotate a textbox in figure
>> > window? I don't see 'rotation' in the properties (more properties).
>>
>> Assuming that by textbox you mean something like "text(2,3,"your text
>> here")"
>> then do:
>>
>> h = text(1,7,"your text here");
>> set(h, 'Rotation', 90);
>
> No, he means the kind of text you get by choosing "insert -> Textbox" in
> the menubar of an already existing figure. The textbox graphics object
> doesn't have a 'Rotation' property so what you've suggested will not work
> (I just tried).
>
> Does anyone know a way to add rotatable text to a figure without it being
> tied to the axes, or to get a textbox object to rotate?
I don't believe you can do what you're asking. That seems like a very
reasonable enhancement request to submit to Technical Support, however.
--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com