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: Mon, 6 Aug 2007 14:37:46 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 23
Message-ID: <f97bnq$aek$1@fred.mathworks.com>
References: <f82e7i$joh$1@fred.mathworks.com> <f854tv$rst$1@fred.mathworks.com> <f856tk$3dl$1@fred.mathworks.com> <f857vq$m46$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 1186411066 10708 172.30.248.36 (6 Aug 2007 14:37:46 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 6 Aug 2007 14:37:46 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1057870
Xref: news.mathworks.com comp.soft-sys.matlab:422608


This is still not working; for each of the following 
statements, I get the error message shown:

 rotate(handles.YAxisLabel, [1 0 0], 90);
 error: ??? Error: H must contain axes children only.


 rotate(YAxisLabel, [1 0 0], 90);
 error: ??? Undefined function or variable 'YAxisLabel'.


 within the object's Create Function callback,
 rotate(hObject, [1 0 0], 90);
 error:??? H must contain axes children only.


The first argument of rotate( ) is supposed to be 
a "graphics object". How can I refer to my static text 
object in order to rotate it? Thanks for your input!  
    Kathleen