- 积分
- 21
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2016-4-8
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
lucf = figure;
set(lucf, 'Position',[30 50 1200 700]);
mapshow(double(rot90(xlon(:,:,1))),double(rot90(xlat(:,:,1))), double(rot90(luc)),'DisplayType','texturemap');
demcmap(double(rot90(luc)));
cm = colormap;
cm = [cm(1:4:64,:);1,1,1;];
colormap(cm);
hold on
mapshow(sln, 'Color', 'black');
title('Landuse');
xlabel('Longitude');
ylabel('Latitude');
h = colorbar;
set(h, 'Ticks', 1:17, 'TickLabels',{'Evergreen Needleleaf Forest','Evergreen Broadleaf Forest','Deciduous Needleleaf Forest','Deciduous Broadleaf Forest','Mixed Forest', ...
'Closed Shrublands','Open Shrublands','Woody Savannas','Savannas','Grasslands','Permanent Wetlands','Croplands','Urban and Build-Up','Cropland/Natural Vegetation Mosaic',...
'Snow and Ice','Barren or Sparsely Vegetated','Water'});
xlim([118, 119]);
ylim([nhours.2, 25.2]);
%set(gca,'box','off');
%set(gca, 'xgrid','on', 'ygrid', 'on');
saveas(lucf,'d:\land_use_MODIS_jinjiang_2013.jpg');
hold off;
来个大神帮我看一下这个ylim的设置到底是啥问题nhours.2是什么?连25.2的.2都报错了。
|
|