Browse Source

increasing max temperature (canicule)

phyto 1 month ago
parent
commit
67aa367e1e
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      plot.sh

+ 2
- 2
plot.sh View File

@@ -15,7 +15,7 @@ TMPFILE="/dev/shm/tmpdata"
15 15
 echo $nbsamp
16 16
 wc -l ${DATAFILE}
17 17
 
18
-tail -3000 < ${DATAFILE} > ${TMPFILE}
18
+tail -${nbsamp} < ${DATAFILE} > ${TMPFILE}
19 19
 
20 20
 gnuplot << __EOC__
21 21
 set term png 	size 1600,800
@@ -27,7 +27,7 @@ set title	"* Temperatures du Phytotron *"
27 27
 set xdata 	time
28 28
 set timefmt 	"%s"
29 29
 set format x 	"%b %d\n%H:%M"
30
-set yrange [ 0.0 : 30.0 ]
30
+set yrange [ 0.0 : 40.0 ]
31 31
 plot	"${TMPFILE}" using 1:3 title " inside" with lines, \
32 32
 	"${TMPFILE}" using 1:4 title "ambient" with lines
33 33
 __EOC__

Loading…
Cancel
Save