2020-04-19 23:17:19 +02:00
|
|
|
#set term dumb 50 20
|
2020-05-08 22:43:22 +02:00
|
|
|
#terminl gnuplot dumb : http://www.bersch.net/gnuplot-doc/complete-list-of-terminals.html#commands-set-terminal-dumb
|
2020-05-08 18:33:48 +02:00
|
|
|
set term dumb ansi 256 #nofeed
|
2020-05-08 22:43:22 +02:00
|
|
|
set autoscale
|
2020-04-19 23:17:19 +02:00
|
|
|
set title 'Courbe de poids'
|
|
|
|
set timefmt "%Y-%m-%d %H:%M:%S"
|
|
|
|
set xdata time
|
2020-04-23 17:14:27 +02:00
|
|
|
#set xmtics
|
2020-04-19 23:17:19 +02:00
|
|
|
set xlabel "Mois"
|
|
|
|
#set xtics format "%Y-%d-%m"
|
2020-04-23 17:14:27 +02:00
|
|
|
set xtics format "%m"
|
2020-04-19 23:17:19 +02:00
|
|
|
set x2data time
|
|
|
|
set x2label "Années"
|
|
|
|
set x2tics format "%Y"
|
|
|
|
set xtics nomirror
|
2020-04-23 17:14:27 +02:00
|
|
|
set xrange [*:*]
|
2020-04-19 23:17:19 +02:00
|
|
|
set datafile separator '|'
|
2020-05-08 10:10:33 +02:00
|
|
|
f(x) = 86.41099999999999
|
2020-05-17 00:24:32 +02:00
|
|
|
plot '/home/guyotv/Documents/Echange/weight-cli/data_perso.csv' using 3:1 w dots title '', f(x) lc 'red' w dots title 'bmi max'
|
2020-04-19 23:17:19 +02:00
|
|
|
#pause -1 'En attente de RETURN'
|