textbp: text with legend-style "best" placement

Version 1.1.0.0 (4.05 KB) by Peter Mao
automatically locates text annotation to minimize figure obscuration
5.6K Downloads
Updated 21 Jun 2011

View License

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

Sometimes the exact location of some text annotation doesn't matter. This works just like TEXT (including the property calls) except one does not specify an X,Y location. The subroutine TSCAN (modified from the Matlab LSCAN routine) automatically places the text, with a preference for the bottom/left corner.

Cite As

Peter Mao (2024). textbp: text with legend-style "best" placement (https://www.mathworks.com/matlabcentral/fileexchange/11466-textbp-text-with-legend-style-best-placement), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
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.1.0.0

Modified TSCAN to properly avoid histogram bars.

1.0.0.0