Path: news.mathworks.com!not-for-mail
From: "Kathleen " <quisquiliae2@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: problem with rotating GUI components
Date: Tue, 24 Jul 2007 16:05:14 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <f857vq$m46$1@fred.mathworks.com>
References: <f82e7i$joh$1@fred.mathworks.com> <f854tv$rst$1@fred.mathworks.com> <f856tk$3dl$1@fred.mathworks.com>
Reply-To: "Kathleen " <quisquiliae2@hotmail.com>
NNTP-Posting-Host: webapp-01-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1185293114 22662 172.30.248.36 (24 Jul 2007 16:05:14 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 24 Jul 2007 16:05:14 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1057870
Xref: news.mathworks.com comp.soft-sys.matlab:420778


Thanks for your input, Karl. It seems like it's going to be useful. However, I have tried the following calls for my object, whose Tag is YAxisLabel:

     rotate(handles.YAxisLabel, [1 0 0], 90);
     rotate(YAxisLabel, [1 0 0], 90);

    and, within the object's Create Function callback,
     rotate(hObject, [1 0 0], 90);

 All of these calls produce error messages, and don't rotate the object. How should I refer to my Static Text object YAxisLabel to allow rotate() to recognize it? Thanks!