xx=10; maker_idx_1 = 1:ceil(length(a)/xx):length(a);maker_idx_1(length(maker_idx_1)+1)=length(a); maker_idx_2 = 1:ceil(length(c)/xx):length(c);maker_idx_2(length(maker_idx_2)+1)=length(c); maker_idx_3 = 1:ceil(length(e)/xx):length(e);maker_idx_3(length(maker_idx_3)+1)=length(e); maker_idx_4 = 1:ceil(length(g)/xx):length(g);maker_idx_4(length(maker_idx_4)+1)=length(g); figure(1) plot (a,b,'r','Linewidth', 1,'Marker','x','MarkerIndices',maker_idx_1);hold on;%Times New Roman Helvetica plot (c,d,'b','Linewidth', 1,'Marker','o','MarkerIndices',maker_idx_2);hold on; plot (e,f,'k','Linewidth', 1,'Marker','*','MarkerIndices',maker_idx_3);hold on; plot (g,h,'m','Linewidth', 1,'Marker','square','MarkerIndices',maker_idx_4);hold on;
标签:plot,idx,MarkerIndices,xx,Maker,length,Matlab,maker From: https://www.cnblogs.com/Nigel-ff/p/17988296