- 积分
- 112
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-1-17
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
clc;clear all;close all;
figure(1);
ma=shaperead('D:\matlabProgram\prov.shp');
bou1_4lx=[ma(:).X];
bou1_4ly= [ma(:).Y];
plot(bou1_4lx,bou1_4ly);
title('降水图','fontsize', 14);
hold on
load mycolor;% 自定义的色标
colormap(mycolor);
colorbar('YTickLabel',{'','0','0.1','0.5','1','5','10','15'})
aa=load('D:\matlabProgram\data.txt');
lat=aa(:,1);
lon=aa(:,2);
rain=aa(:,3);
data.txt 文件三列分别为经度,纬度,降水 现在怎么把经纬度和降水 的点画出来,并根据降水的大小设定不同颜色(对照色标)
|
-
-
-
data.txt
12.38 MB, 下载次数: 15, 下载积分: 金钱 -5
|