% draws map showing locations of ACT sampling

h=figure('Units','inches','Resize','off'); % graph
set(gcf,'paperposition',[1.5 3.5 3.5 2.5]); % sets location and size on print out
set(gcf,'position',[0.5 0.5 3.5 2.5]); % sets window location and size on figure

figure(h);
axes1 = axes('Position',[0.187 0.175 0.65 0.74]);
box on; %sets box around graph
set(gcf,'paperposition',[1.5 3.5 3.5 2.5]); %sets location and size on printout - left, bottom, width, height
% set(gcf,'position',[0 0 4.75 3.75]); %sets window location and size on figure for printing (eos figure)
set(gca,'FontName','Times New Roman','FontSize',10);
set(gca,'LineWidth',0.75);

% add coast
m_proj('oblique mercator','longitudes',[-70 -180], 'latitudes',[30 40],'direction','horizontal','aspect',.9);
m_coast;
m_grid;

% add location symbols
[X1,Y1]=m_ll2xy(-81,31.5); % skio
line(X1,Y1,'marker','square','markersize',5,'color','k','markerfacecolor','k');
% text(X1,Y1,' SK','vertical','top');
annotation('textbox','Position',[0.665 0.46 0.05 0.05],'LineStyle','none',...
  'FontName','Times New Roman','FontSize',10,'String',{'SK'},'FitHeightToText','on');

[X2,Y2]=m_ll2xy(-121.5,36.5); % mlml
line(X2,Y2,'marker','square','markersize',5,'color','k','markerfacecolor','k');
% text(X2,Y2,' ML','vertical','top');
annotation('textbox','Position',[0.45 0.36 0.05 0.05],'LineStyle','none',...
  'FontName','Times New Roman','FontSize',10,'String',{'ML'},'FitHeightToText','on');

[X3,Y3]=m_ll2xy(-76.2,38.6); % cbl
line(X3,Y3,'marker','square','markersize',5,'color','k','markerfacecolor','k');
% text(X3,Y3,' CB','vertical','top');
annotation('textbox','Position',[0.73 0.58 0.05 0.05],'LineStyle','none',...
  'FontName','Times New Roman','FontSize',10,'String',{'CB'},'FitHeightToText','on');

[X4,Y4]=m_ll2xy(-69.4,43.5); % maine
line(X4,Y4,'marker','square','markersize',5,'color','k','markerfacecolor','k');
% text(X4,Y4,' ME','vertical','top');
annotation('textbox','Position',[0.64 0.667 0.05 0.05],'LineStyle','none',...
  'FontName','Times New Roman','FontSize',10,'String',{'ME'},'FitHeightToText','on');

[X5,Y5]=m_ll2xy(-82.3,27.4); % usf
line(X5,Y5,'marker','square','markersize',5,'color','k','markerfacecolor','k');
% text(X5,Y5,' FL','vertical','top');
annotation('textbox','Position',[0.73 0.41 0.05 0.05],'LineStyle','none',...
  'FontName','Times New Roman','FontSize',10,'String',{'FL'},'FitHeightToText','on');

[X6,Y6]=m_ll2xy(-83.5,42.3); % michigan2
line(X6,Y6,'marker','square','markersize',5,'color','k','markerfacecolor','k');
% text(X6,Y6,' M2','vertical','top');
annotation('textbox','Position',[0.65 0.53 0.05 0.05],'LineStyle','none',...
  'FontName','Times New Roman','FontSize',10,'String',{'M2'},'FitHeightToText','on');

[X7,Y7]=m_ll2xy(-88.1,47.1); % michigan
line(X7,Y7,'marker','square','markersize',5,'color','k','markerfacecolor','k');
% text(X7,Y7,' M1','vertical','top');
annotation('textbox','Position',[0.57 0.55 0.05 0.05],'LineStyle','none',...
  'FontName','Times New Roman','FontSize',10,'String',{'M1'},'FitHeightToText','on');

[X8,Y8]=m_ll2xy(-157.5,21.3); % hawaii
line(X8,Y8,'marker','square','markersize',5,'color','k','markerfacecolor','k');
% text(X8,Y8,' HI','vertical','top');
annotation('textbox','Position',[0.26 0.34 0.05 0.05],'LineStyle','none',...
  'FontName','Times New Roman','FontSize',10,'String',{'HI'},'FitHeightToText','on');

%draw ticks
annotation('textbox','Position',[0.10 0.29 0.05 0.05],'LineStyle','none',...
  'FontName','Times New Roman','FontSize',10,'String',{'18^oN'},'FitHeightToText','on');
annotation('textbox','Position',[0.10 0.51 0.05 0.05],'LineStyle','none',...
  'FontName','Times New Roman','FontSize',10,'String',{'36^oN'},'FitHeightToText','on');
annotation('textbox','Position',[0.10 0.74 0.05 0.05],'LineStyle','none',...
  'FontName','Times New Roman','FontSize',10,'String',{'54^oN'},'FitHeightToText','on');
annotation('textbox','Position',[0.50 0.14 0.05 0.05],'LineStyle','none',...
  'FontName','Times New Roman','FontSize',10,'String',{'120^oW'},'FitHeightToText','on');

%draw axis labels
annotation('textbox','Position',[0.41 0.06 0.05 0.05],'LineStyle','none',...
  'FontName','Times New Roman','FontSize',10,'String',{'Longitude'},'FitHeightToText','on');
annotation('textbox','Position',[0.045 0.42 0.05 0.05],'LineStyle','none',...
  'FontName','Times New Roman','FontSize',10,'String',{'Latitude'},'Rotation',[90],'FitHeightToText','on');

