概述
CODE:
function fenlidengwen4
clc;
x=[238,258,278,298,318,338,358];
y1=[0.156431092,0.108551007,0.088557657,0.050801768,0.03448877,...
0.029484783,0.027250745];
y2=[0.170124049,0.115041835, ... [/quote]
[code]
function fenlidengwen4
clc;
x=[238,258,278,298,318,338,358];
y1=[0.156431092,0.108551007,0.088557657,0.050801768,0.03448877,...
0.029484783,0.027250745];
y2=[0.170124049,0.115041835,0.088087426,0.042864189,0.029123507,...
0.026356988,0.02137848];
y3=[0.187344428,0.149545285,0.072772753,0.058479961,0.024662251,...
0.023114936,0.019231357];
y4=[0.17660133,0.090340343,0.104651624,0.055638383,0.037418481,...
0.026110313,0.022701704];
plot(x,y1,'gx',...
'MarkerSize',12)
hold on
plot(x,y2,'b*',...
'MarkerSize',12)
hold on
plot(x,y3,'r+',...
'MarkerSize',12)
hold on
plot(x,y4,'mo',...
'MarkerSize',12)
yy1=fit(x',y1','smoothingspline');
yy2=fit(x',y2','smoothingspline');
yy3=fit(x',y3','smoothingspline');
yy4=fit(x',y4','smoothingspline');
hplot1 = plot(yy1,'g-'); % 改用句柄设置属性
set( hplot1, 'linewidth', 4 ) % 改用句柄设置属性
hold on
hplot2 = plot(yy2,'b-'); % 同上
set( hplot2, 'linewidth', 4 )
hold on
hplot3 = plot(yy3,'r-');
set( hplot3, 'linewidth', 4 )
hold on
hplot4 = plot(yy4,'m-');
set( hplot4, 'linewidth', 4 )
hold on
xlabel('temperature(K)');ylabel('selectivity');
legend('100kpa in MCM-41 without APTS','100kpa in MCM-41 with 15APTS',...
'100kpa in MCM-41 with 30APTS','100kpa in MCM-41 with 45APTS');
set(gca,'Fontsize',12)
hold off
end
最后
以上就是飞快枫叶为你收集整理的matlab的图标小山是什么意思,【求助】MATLAB的plot怎么调整图标大小? - 仿真模拟 - 小木虫 - 学术 科研 互动社区...的全部内容,希望文章能够帮你解决matlab的图标小山是什么意思,【求助】MATLAB的plot怎么调整图标大小? - 仿真模拟 - 小木虫 - 学术 科研 互动社区...所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复