image thumbnail

TextZoomable(x,y,va​rargin)

version 2.0.0.0 (8.52 KB) by Ken Purchase
Text that zooms as you zoom your plot, rather than staying at a fixed font size.

870 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 (2022). 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

Community Treasure Hunt

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

Start Hunting!