increasing max temperature (canicule)
This commit is contained in:
		
							parent
							
								
									4a033432bf
								
							
						
					
					
						commit
						67aa367e1e
					
				
							
								
								
									
										4
									
								
								plot.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								plot.sh
									
									
									
									
									
								
							@ -15,7 +15,7 @@ TMPFILE="/dev/shm/tmpdata"
 | 
				
			|||||||
echo $nbsamp
 | 
					echo $nbsamp
 | 
				
			||||||
wc -l ${DATAFILE}
 | 
					wc -l ${DATAFILE}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
tail -3000 < ${DATAFILE} > ${TMPFILE}
 | 
					tail -${nbsamp} < ${DATAFILE} > ${TMPFILE}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
gnuplot << __EOC__
 | 
					gnuplot << __EOC__
 | 
				
			||||||
set term png 	size 1600,800
 | 
					set term png 	size 1600,800
 | 
				
			||||||
@ -27,7 +27,7 @@ set title	"* Temperatures du Phytotron *"
 | 
				
			|||||||
set xdata 	time
 | 
					set xdata 	time
 | 
				
			||||||
set timefmt 	"%s"
 | 
					set timefmt 	"%s"
 | 
				
			||||||
set format x 	"%b %d\n%H:%M"
 | 
					set format x 	"%b %d\n%H:%M"
 | 
				
			||||||
set yrange [ 0.0 : 30.0 ]
 | 
					set yrange [ 0.0 : 40.0 ]
 | 
				
			||||||
plot	"${TMPFILE}" using 1:3 title " inside" with lines, \
 | 
					plot	"${TMPFILE}" using 1:3 title " inside" with lines, \
 | 
				
			||||||
	"${TMPFILE}" using 1:4 title "ambient" with lines
 | 
						"${TMPFILE}" using 1:4 title "ambient" with lines
 | 
				
			||||||
__EOC__
 | 
					__EOC__
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user