You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). bordertext( varargin ) (https://www.mathworks.com/matlabcentral/fileexchange/41475-bordertext-varargin), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.5.0.0 (25.6 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 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.
|
||
| 1.2.0.0 | Background of the text doesn't overlap the axis anymore.
|
||
| 1.0.0.0 |
