bordertext( varargin )
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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > Axes Appearance > Combine Multiple Plots > Subplots >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
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.
|
||
1.2.0.0 | Background of the text doesn't overlap the axis anymore.
|
||
1.0.0.0 |