Including text and number on your plot

Post date: Feb 4, 2013 1:59:38 AM

Please visit a good example here

http://www.mathworks.com/matlabcentral/answers/415

% Add textCell for ii = 1:numel(X) text(X(ii)+.02, Y(ii)+.02,textCell{ii},'FontSize',8) end

Basically, just use command text and make a loop to write it on the plot.