-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGOM_map.m
34 lines (31 loc) · 1.26 KB
/
GOM_map.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FL_lo = shaperead ( 'usastatelo', ...
'UseGeoCoords', true,...
'Selector', { @ ( name ) strcmpi( name, 'Florida' ), 'Name' } );
AL_lo = shaperead ( 'usastatelo', ...
'UseGeoCoords', true,...
'Selector', { @ ( name ) strcmpi( name, 'Alabama' ), 'Name' } );
LA_lo = shaperead ( 'usastatelo', ...
'UseGeoCoords', true,...
'Selector', { @ ( name ) strcmpi( name, 'Louisiana' ), 'Name' } );
GA_lo = shaperead ( 'usastatelo', ...
'UseGeoCoords', true,...
'Selector', { @ ( name ) strcmpi( name, 'Georgia' ), 'Name' } );
MS_lo = shaperead ( 'usastatelo', ...
'UseGeoCoords', true,...
'Selector', { @ ( name ) strcmpi( name, 'Mississippi' ), 'Name' } );
SC_lo = shaperead ( 'usastatelo', ...
'UseGeoCoords', true,...
'Selector', { @ ( name ) strcmpi( name, 'South Carolina' ), 'Name' } );
state_color = [1 1 1]*190/255;
figure;
latlim = [24 32];
lonlim = [-93 -79.5];
ax = usamap(latlim,lonlim);
geoshow ( FL_lo, 'FaceColor',state_color);
geoshow ( AL_lo, 'FaceColor',state_color);
geoshow ( LA_lo, 'FaceColor',state_color);
geoshow ( GA_lo, 'FaceColor',state_color);
geoshow ( MS_lo, 'FaceColor',state_color);
geoshow ( SC_lo, 'FaceColor',state_color);
gridm('fontsize',16);
plotm(30.0599,-85.6811,'r.','markersize',20); % location of FORA array