SetLabelFontSize

Traverses graphical object and sets fontsize and markersize.

You are now following this Submission

To include Matlab graphics in papers, it is often necesssary to increase the fontsize. Matlab graphics does not provide a single command that can adjust the fontsize of all text items.

SetLabelFontSize(16, 14)
sets the FontSize of all text items of the current figure to 16 points, and the MarkerSize of all markers in the current figure to 14 points.

Cite As

Brian Armstrong (2026). SetLabelFontSize (https://www.mathworks.com/matlabcentral/fileexchange/9365-setlabelfontsize), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0