File Exchange

image thumbnail

Scatterplot with points indexes

version (2.36 KB) by Francesco Montorsi
Like standard scatterplot() function but adds indexes of the data points.

1 Download

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 (2020). Scatterplot with points indexes (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)


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

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

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux