该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
像这样的 ,但我想换个区域,不知道要怎么改数据
clear
clc
load('G:\weixingshuju\topo提取\kkk.mat'); %文件位置
a1 = reshape(a(:,1),4321,2161);
a2 = reshape(a(:,2),4321,2161);
a3 = reshape(a(:,3),4321,2161);
A = a1(1272:1464,805:1033); %(经度范围*12+1,纬度范围*12+1)数据像元为12*12
B = a2(1272:1464,805:1033);
C = a3(1272:1464,805:1033);
S = C';
contour(A',B',-S,[0,0],'k');
hold on
set(gca,'XTick',100:5:130);
set(gca,'Xticklabel',{'100E','105E','110E','115E','120E','125E','130E'});
set(gca,'yTick',0:5:25);
set(gca,'yticklabel',{'0N','5N','10N','15N','20N','25N'});
axis([106 122 4 23]);
xlab