bordertext( varargin )

Place text on borders of the figure, border of the subplots, on the inner-side or outer-side.
890 Downloads
Updated 23 Oct 2016

View License

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

Place text on borders of the figure, border of the subplots, on the inner-side or outer-side. Also control the most important text-properties with one simple FormatString.
Text stays on the borders, even while zooming, panning, etc.
Try 'bordertext' without arguments to see the demo (figure is added as screenshot)

Cite As

Jan de Wilde (2024). bordertext( varargin ) (https://www.mathworks.com/matlabcentral/fileexchange/41475-bordertext-varargin), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
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!
Version Published Release Notes
1.5.0.0

Update for HG2

1.4.0.0

Bugfix for R2014b; HandleGraphics2 (zooming,panning etc was not working anymore)

1.3.0.0

Some speed optimizations.
Option added: zoom text when using as Position an [X Y]-position: 'ZoomText','on'

1.2.0.0

Background of the text doesn't overlap the axis anymore.
Added the matlab syntax, as suggested bij arnold

1.0.0.0