码迷,mamicode.com
首页 > 其他好文 > 详细

matlab绘制曲线对比图

时间:2017-04-12 16:50:51      阅读:169      评论:0      收藏:0      [点我收藏+]

标签:clear   upper   combine   绘制   end   tla   对比   atl   曲线   

>> 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‘);

matlab绘制曲线对比图

标签:clear   upper   combine   绘制   end   tla   对比   atl   曲线   

原文地址:http://www.cnblogs.com/xiaohuihui123/p/6699972.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!