JSN=[0.1213 0.1092 0.0587]*100; JZN=[0.0971 0.1314 0.1408]*100; for I=2:2:14 line([0.5 3.5],[I I],'Color',[220 220 220]/255) end hold on plot(1:3,JSN,'k'); ylabel('最大相对偏差/%') xlabel('情况') axis([0.5 3.5 0 16]) text(1,JSN(1)+0.3,'12.13') text(2,JSN(2)+0.1,'10.92') text(3,JSN(3)+0.6,'5.87') hold on plot(1:3,JZN,'k--'); text(1,JZN(1)-0.5,'9.71') text(2,JZN(2)-0.5,'13.14') text(3,JZN(3)-0.5,'14.08')