MATLAB Answers

How can I change my bode plot font size from Matlab's command?

64 views (last 30 days)
Husni Rois Ali
Husni Rois Ali on 24 Oct 2017
Commented: Birdman on 24 Oct 2017
Hi All
I think that it may be a simple question, but I am grateful if somebody can help me. I have a fig file of bode plot. It is from a 2 inputs and 2 outputs system. How can I change the font size of x label (frequency) and y label (magnitude & angle) from command line?
Thank you

Accepted Answer

Birdman
Birdman on 24 Oct 2017
Write ('name of axis','FontSize',value of font size,'FontWeight', bold or normal)
Example:
xlabel('Frequency','FontSize',20,'FontWeight','bold')
  2 Comments
Birdman
Birdman on 24 Oct 2017
For already saved figures, do the following:
a=openfig(' _name of the figure_');
aChildren=a.Children;
Then, open the aChildren 2x1 Axes and you will find the FontSize properties. You can manually change them.

Sign in to comment.

More Answers (0)

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!