Shaded Earth Map

버전 1.1.0.0 (2.23 KB) 작성자: Jonathan Sullivan
Draws a path of the Earth with realistic colors.
다운로드 수: 561
업데이트 날짜: 2011/8/10

라이선스 보기

DRAWEARTHSHADED Draws a shaded map of the Earth

DRAWEARTHSHADED Draw a map of the earth, with a realistic set of
colors. This can be used as a background for any map plot you wish.
It is important to note that the shapefiles "landareas" and
"usastateshi" are both used in order to generate this map. They are
both relatively coarse in their resolution and do not always line
up, so this may not be suitable for some situations (i.e. scales of
10s of kilometers near coastline).

DRAWEARTHSHADED(USAshaded,WorldShaded,Lakes) USAshaded toggles wether
or not the USA should be shaded and highlighted. WorldShaded toggles
wether of not the landareas shapefile ought to be drawn. Lakes toggles
wether of not the lakes should be colored in blue. By default, all 3 of
these values are on.

Example:
figure
drawEarthShaded
hold on
lat = 38.8904;
lon = -77.0320;
latlim = [-2 2] + lat;
lonlim = [-2 2] + lon;
plot(lon,lat,'rx')
text(lon,lat,' Washington DC')
axis([lonlim latlim])
if exist('lat_lon_proportions','file')
lat_lon_proportions
end
title('Washington DC - Bad Coastline')

figure
drawEarthShaded(1,0,1)
hold on
lat = 38.8904;
lon = -77.0320;
latlim = [-2 2] + lat;
lonlim = [-2 2] + lon;
plot(lon,lat,'rx')
text(lon,lat,' Washington DC')
axis([lonlim latlim])
if exist('lat_lon_proportions','file')
lat_lon_proportions
end
title('Washington DC - Better Coastline')

If you want your map to be proportioned correctly, call the function
lat_lon_proportions. This can be found on the File Exchange @
http://www.mathworks.com/matlabcentral/fileexchange/32462

By: J Sullivan, May 2011

인용 양식

Jonathan Sullivan (2024). Shaded Earth Map (https://www.mathworks.com/matlabcentral/fileexchange/32468-shaded-earth-map), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2011a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
커뮤니티
 Power Electronics Control 커뮤니티에 더 많은 파일이 있습니다

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Update picture to make it easier to see.

1.0.0.0