labelpoints
Automatically label points in your plot given x and y values & an array of labels.
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
Cite As
Adam Danz (2026). labelpoints (https://uk.mathworks.com/matlabcentral/fileexchange/46891-labelpoints), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: vdpdemo
Inspired: hist3d(x,y,w,varargin), Getting Started with Portfolio Optimization (Files for Video Demo)
General Information
- Version 4.1.1 (47.9 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 4.1.1 | 'Major update coming' announcement added to the description; no changes made the file. |
||
| 4.1.0 | Replaced use of isdatetime() with isa() so older versions of matlab won't cause error. |
||
| 4.0.0 | fixed typos. |
||
| 3.0.0 | Provided clearer examples and corrected a small problem when stacking text with only 1 element. |
||
| 1.4.0 | Improved the 'outliers_N' optional parameter and added the automatic removal of points that have 'inf' value.
|
||
| 1.3.0 | There was an error within the optional text rotation parameter.
|
||
| 1.2.0 | This function has added several features onto the first version but has not affected functionality of earlier versions. |
||
| 1.1.0 | Added an additional example in the help file. No changes to code. |
||
| 1.0.0 |