| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -101,26 +101,6 @@ plot file using 2:6 title 'Incremento' w lp ls 1, \ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					set output  | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					unset output | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					unset label | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					# 6 Modelo lineal Michoacan | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					clear | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					file2="../datos/datos-covid-michoacan.csv" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					set output "1-6.png" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					f(x) = a*x+b | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					fit f(x) file2  using 2:3 via a, b | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					set xlabel 'Días de contagio' font ',14' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					set xtics font ", 13" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					show xlabel | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					set ytics font ", 11" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					set ylabel 'Casos confirmados' font ',14' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					set label sprintf("f(x)=%+-f*x%+-f", a, b) at graph 0.01,0.85 font ',12' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					set title 'Figura 6: Modelo lineal para los casos en Michoacán' font ',14' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					show title | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					set key left top font ',10'  box 3 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					plot file2 using 2:3 title 'Casos' w p ls 1, \ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     f(x) with lines ls 2 title 'Modelo' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					set output  | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					unset output | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					unset label | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					# Factor de crecimiento Michoacan | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					clear | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |