TextZoomable(x,y,va​rargin)

Text that zooms as you zoom your plot, rather than staying at a fixed font size.
913 Downloads
Updated 14 Jul 2015

View License

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 (2024). TextZoomable(x,y,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/41513-textzoomable-x-y-varargin), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Data Exploration in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
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