如何在MATLAB里面将两个图画在一起data=[7478151373731111321179128017874104921271216472728628833617152383369272708229522293317677];T=data(:,1);D=data(:,2);K=data(:,3);[X,Y,Z]=griddata(T,D,K,linspace(min(T),max(T))',linsp

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/26 09:42:02
如何在MATLAB里面将两个图画在一起data=[7478151373731111321179128017874104921271216472728628833617152383369272708229522293317677];T=data(:,1);D=data(:,2);K=data(:,3);[X,Y,Z]=griddata(T,D,K,linspace(min(T),max(T))',linsp
xMO0O֒vZ'K p끁z(/JRuq,0R Hhibc Qʀ/~ \ ;؏5^y?F #Cݵ#tmsۿ%Ϻfxv^.5J aQ(cJt Bc@iU0YˆD(Y B0 D)E QvMFHh GBcb ALRn0VwTrb' ͕2abd dB1wq0".2#>!1IJ1`SqC0')'yC jGOTUFFN8 +3)4 g>F~й!&-bmo+W~uQO?8q;zp{ .O˯%o{'Y?ffrXrt{^Llׅ\

如何在MATLAB里面将两个图画在一起data=[7478151373731111321179128017874104921271216472728628833617152383369272708229522293317677];T=data(:,1);D=data(:,2);K=data(:,3);[X,Y,Z]=griddata(T,D,K,linspace(min(T),max(T))',linsp
如何在MATLAB里面将两个图画在一起
data=[
747815
137373111
1321179128
017874
1049212712
164727286
2883361715
238336927
2708229522
293317677
];
T=data(:,1);
D=data(:,2);
K=data(:,3);
[X,Y,Z]=griddata(T,D,K,linspace(min(T),max(T))',linspace(min(D),max(D)),'v4');%插值
plot(T,D);
hold on;
figure,contourf(X,Y,Z) %等高线图
怎么不能把两个图画在一起
求助 本人较2 最好把改好的代码发过来 谢谢

如何在MATLAB里面将两个图画在一起data=[7478151373731111321179128017874104921271216472728628833617152383369272708229522293317677];T=data(:,1);D=data(:,2);K=data(:,3);[X,Y,Z]=griddata(T,D,K,linspace(min(T),max(T))',linsp
>> data=[
747815
137373111
1321179128
017874
1049212712
164727286
2883361715
238336927
2708229522
293317677
];
T=data(:,1);
D=data(:,2);
K=data(:,3);
[X,Y,Z]=griddata(T,D,K,linspace(min(T),max(T))',linspace(min(D),max(D)),'v4');%插值
contourf(X,Y,Z) %等高线图
hold on;plot(T,D,'-o');