- 积分
- 5313
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-6-23
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
data1 = load('wlmq_dt.txt');latlim = minmax(data1(:,2)');lonlim = minmax(data1(:,1)');MLabelLocation = linspace(lonlim(1),lonlim(2),6);PLabelLocation = linspace(latlim(1),latlim(2),6);figure('color','w',... 'name','等温线图',... 'numbertitle','off',... 'units','normalized',... 'pos',[0.2738,0.0638,0.4451,0.8125]);axesm('MapProjection','mercator', ... 'MapLatLimit',latlim, ... 'MapLonLimit',lonlim, ... 'Frame','on', ... 'Grid','on', ... 'MeridianLabel','on', ... 'ParallelLabel','on', ... 'MLabelLocation',MLabelLocation, ... 'MLineLoc',MLabelLocation, ... 'PLabelLocation',PLabelLocation, ... 'PLineLoc',PLabelLocation);tightmap;plotm(data1(:,2),data1(:,1),'k');data2 = xlsread('wlmq_zdz.xls');lon = data2(:,1);lat = data2(:,2);tem = data2(:,5);
theta = [10 10]; lob = [1e-1 1e-1]; upb = [20 20];[dmodel, perf] = dacefit([lat,lon], tem, @regpoly0, @corrgauss, theta, lob, upb);LonLat = gridsamp([min(latlim) min(lonlim);max(latlim) max(lonlim)], 60);TemNew = predictor(LonLat, dmodel);LatNew = reshape(LonLat(:,1),[60,60]);LonNew = reshape(LonLat(:,2),[60,60]);TemNew = reshape(TemNew, size(LonNew));geoshow(LatNew,LonNew,TemNew,'DisplayType','surface');hold onplotm(lat,lon,'k.');colorbar;
|
评分
-
查看全部评分
|