How do I remove the title and ylabel for a nyquist or bode plot in MATLAB 5.3?
31 views (last 30 days)
Show older comments
How do I remove the title and ylabel for a nyquist or bode plot in MATLAB 5.3? Running the NYQUIST or BODE function in MATLAB 5.3 generates a figure window containing a title and ylabel.
The title displays the I/O Channel:
From: U (1)
The Y label displays the I/O Channel:
To: Y (1)
Is there a way to automatically disable the title and ylabel in MATLAB 5.3?
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
The title and ylabel can be disabled in MATLAB 5.3 by editing the RESFCN.M file. This file is located in the following directory:
$MATLAB/toolbox/control/ctrlguis/ ($MATLAB is the MATLAB root directory)
To make this change, at lines 964 and 968, replace
set(cat(1,Y{:}),'visible',YlabelVis);
with
set(cat(1,Y{:}),'visible','off');
and
set(cat(1,T{:}),'visible',TitleVis);
with
set(cat(1,T{:}),'visible','off');
As of MATLAB 6.0 (R12), you can use the GET and SET functions to access and modify such attributes as title, labels, etc.
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!