Scatterplot with points indexes

Like standard scatterplot() function but adds indexes of the data points.

You are now following this Submission

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 (2026). Scatterplot with points indexes (https://www.mathworks.com/matlabcentral/fileexchange/25576-scatterplot-with-points-indexes), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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