
use .\..\..\data\output\state_data2,clear

spmap y using ".\..\..\data\output\state_coordinates_mercator.dta", id(id) /// 
  fcolor(Set2) ocolor(white ..) /// 
  clnumber(5) legend(label(1 "Out of Sample" )  label(2 "1966" ) label(3 "1967" )  label(4 "1968-1969" )  label(5 "1970" )   position(5) ) ///
   label(data(.\..\..\data\output\maplabels) xcoord(x_c)  ycoord(y_c) ///
  label(NAME) by(labtype)  size(*0.7 ..) pos(12 0) )  ///
  		title("Medicaid Implementation") ///
		saving(.\..\..\maps\figure_1.gph, replace)
		graph export .\..\..\maps\figure_1.emf, replace
		

  
  
  
  
  
  
  
  
