matlab绘制曲线对比图

>> clear;

>> x1=[0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8];

>> y1=[0,0.55,0.69,0.86,0.93,0.93,0.97,0.97,1];

>> x2=[0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8];

>> y2=[0,0.45,0.79,0.93,0.97,0.97,1,1,1];

>> x3=[0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8];

>> y3=[0,0.83,0.86,0.97,1,1,1,1,1];

>> plot(x1,y1,\'dk\',x2,y2,\'sk\',x3,y3,\'^k\');

clear;

x1=[0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8];

y1=[0,0.55,0.69,0.86,0.93,0.93,0.97,0.97,1];

x2=[0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8];

y2=[0,0.45,0.79,0.93,0.97,0.97,1,1,1];

x3=[0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8];

y3=[0,0.83,0.86,0.97,1,1,1,1,1];

plot(x1,y1,\'d-k\',x2,y2,\'s-k\',x3,y3,\'^-k\')

legend(\'Combine\',\'Upper\',\'SMFL\');