Scatterplot with points indexes

Like standard scatterplot() function but adds indexes of the data points.
736 Downloads
Updated 15 Mar 2012

View License

Unlike standard scatterplot() which doesn't allow you to plot on the current figure, this function works in a more conventional way (e.g. similar to plot()) and allows you to specify also a title string and the plot string (colour, marker).
More important, it adds indexes of the plotted data samples next to each sample, making it easier to debug small data sets scatter-plotted.

Cite As

Francesco Montorsi (2024). Scatterplot with points indexes (https://www.mathworks.com/matlabcentral/fileexchange/25576-scatterplot-with-points-indexes), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Discrete Data Plots in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.6.0.0

Adjusted the title to something more meaningful and perhaps which can more easily match search terms

1.3.0.0

added usage example and varargin support (so that any option can be passed to the plot() function)

1.0.0.0