Here's one way to do this:
p = rand(10,2);
labels = cellstr( num2str([1:10]') ); %' # labels correspond to their order
plot(p(:,1), p(:,2), 'rx')
text(p(:,1), p(:,2), labels, 'VerticalAlignment','bottom', ...
'HorizontalAlignment','right')
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…