TextZoomable(x,y,varargin)
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 .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
