Browse Source

mise a l'echelle du graphe

tth 2 years ago
parent
commit
0b7a862dd2
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      serial/essai.sh

+ 2
- 1
serial/essai.sh View File

@@ -5,7 +5,7 @@ DATAFILE="foo.dat"
5 5
 TMPFILE="/tmp/dd2data"
6 6
 
7 7
 IMAGE="graphe.png"
8
-NB_READ=160
8
+NB_READ=15000
9 9
 
10 10
 ./t -v -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE}
11 11
 
@@ -16,6 +16,7 @@ set grid
16 16
 set xdata 	time
17 17
 set timefmt 	"%s"
18 18
 set format x 	"%H:%M:%S"
19
+set yrange [-5.0 : 30.0]
19 20
 plot	"${DATAFILE}" using 1:2 title " foo" with lines, \
20 21
 	"${DATAFILE}" using 1:3 title " bar" with lines, \
21 22
 	"${DATAFILE}" using 1:4 title "quux" with lines, \

Loading…
Cancel
Save