绘制孤立点 clc,clear; X=[1,3,5,6]; Y=[3,4,1,5]; n=length(X); hold on for i=1:nplot(X(i),Y(i),'c*'); end result