| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1108 人关注过本帖
标题:[求助]如何使两幅图上下完全连接在一起?
只看楼主 加入收藏
hyjzy
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2007-6-1
收藏
 问题点数:0 回复次数:0 
[求助]如何使两幅图上下完全连接在一起?

请教如何将两幅图完全并拢在一起?


以下是我的程序。请教如何将两幅图完全上下完全并排在一起,并且希望第一幅图有横坐标但没有刻度。非常感谢。
clear all
a105=86.9474;
b105=5.0331;
r105=0.4839;
a005=48.4998;
b005=2.7261;
r005=0.6399;
at05=[-1:7];
y105=a105./(1+b105*exp(-r105*at05));
y005=a005./(1+b005*exp(-r005*at05));
t0205 =log(b105)/r105;
t0005 =log(b005)/r005;
t1205 =log((2-sqrt(3))*b105)/r105;
t1005 =log((2-sqrt(3))*b005)/r005;
t2205 =log((2+sqrt(3))*b105)/r105;
t2005 =log((2+sqrt(3))*b005)/r005;
yt0205 =a105./(1+b105*exp(-r105*t0205));
yt0005 =a005./(1+b005*exp(-r005*t0005));
yt1205 =a105./(1+b105*exp(-r105*t1205));
yt1005 =a005./(1+b005*exp(-r005*t1005));
yt2205 =a105./(1+b105*exp(-r105*t2205));
yt2005 =a005./(1+b005*exp(-r005*t2005));
at05=-19:10:61;
t0205new=10*t0205-9;
t0005new=10*t0005-9;
t1205new=10*t1205-9;
t1005new=10*t1005-9;
t2205new=10*t2205-9;
t2005new=10*t2005-9;
a106=74.6028;
b106=3.4098;
r106=0.0559;
a006=46.4424;
b006=1.8315;
r006=0.0744;
at06=[-19 -9 1 9 14 19 25 31 36 42 50 51 61];
y106=a106./(1+b106*exp(-r106*at06));
y006=a006./(1+b006*exp(-r006*at06));
t0206 =log(b106)/r106;
t0006 =log(b006)/r006;
t1206 =log((2-sqrt(3))*b106)/r106;
t1006 =log((2-sqrt(3))*b006)/r006;
t2206 =log((2+sqrt(3))*b106)/r106;
t2006 =log((2+sqrt(3))*b006)/r006;
yt0206 =a106./(1+b106*exp(-r106*t0206));
yt0006 =a006./(1+b006*exp(-r006*t0006));
yt1206 =a106./(1+b106*exp(-r106*t1206));
yt1006 =a006./(1+b006*exp(-r006*t1006));
yt2206 =a106./(1+b106*exp(-r106*t2206));
yt2006 =a006./(1+b006*exp(-r006*t2006));
axis([-20, 70, 0 80]);
subplot(2,1,1),plot(at05,y105,'r-',at05,y005,'b-','LineWidth',1.5)
hold on
plot([t0205new,t0205new],[0,yt0205],'r-',[t0005new,t0005new],[0,yt0005],'b-','LineWidth',1.5)
% hold on
plot([t1205new,t1205new],[0,yt1205],'r:',[t1005new,t1005new],[0,yt1005],'b:','LineWidth',1.5)
% hold on
plot([t2205new,t2205new],[0,yt2205],'r:',[t2005new,t2005new],[0,yt2005],'b:','LineWidth',1.5)
% hold on
axis([-20, 70, 0 80]);
subplot(2,1,2),plot(at06,y106,'r-',at06,y006,'b-','LineWidth',1.5)
hold on
plot([t0206,t0206],[0,yt0206],'r-',[t0006,t0006],[0,yt0006],'b-','LineWidth',1.5)
hold on
plot([t1206,t1206],[0,yt1206],'r:',[t1006,t1006],[0,yt1006],'b:','LineWidth',1.5)
hold on
plot([t2206,t2206],[0,yt2206],'r:',[t2006,t2006],[0,yt2006],'b:','LineWidth',1.5)
hold on
xlabel('Time (day)', 'FontSize', 12);
ylabel('Plant Height (cm)', 'FontSize', 12);

搜索更多相关主题的帖子: 如何 a105 
2007-09-08 10:59
快速回复:[求助]如何使两幅图上下完全连接在一起?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.016572 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved