TextZoomable(x,y,va​rargin)

Text that zooms as you zoom your plot, rather than staying at a fixed font size.

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Text that zooms as you zoom your plot, rather than staying at a fixed font size. Adds text to a figure just like the text() command, except that this text grows/shrinks with figure scaling and zooming, unlike normal text that stays at a fixed font size during figure operations. Note it scales with figure height - for best scaling use 'axis equal' before setting up the text. Now revised to work with R2014b and still be backward compatible.

Cite As

Ken Purchase (2026). TextZoomable(x,y,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/41513-textzoomable-x-y-varargin), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Trying to re-upload the changes from earlier this year, which didn't seem to update properly on the File Exchange.

1.1.0.0

Revised to work with R2014b and still be backward compatible.

1.0.0.0