Points avec un point centré et ansi258 pour la couleur dans le dumb, ie le graphe
This commit is contained in:
parent
eced3de90c
commit
ed74b00a7e
@ -1,5 +1,5 @@
|
|||||||
#set term dumb 50 20
|
#set term dumb 50 20
|
||||||
set term dumb #nofeed
|
set term dumb ansi 256 #nofeed
|
||||||
set title 'Courbe de poids'
|
set title 'Courbe de poids'
|
||||||
set timefmt "%Y-%m-%d %H:%M:%S"
|
set timefmt "%Y-%m-%d %H:%M:%S"
|
||||||
set xdata time
|
set xdata time
|
||||||
@ -14,5 +14,5 @@ set xtics nomirror
|
|||||||
set xrange [*:*]
|
set xrange [*:*]
|
||||||
set datafile separator '|'
|
set datafile separator '|'
|
||||||
f(x) = 86.41099999999999
|
f(x) = 86.41099999999999
|
||||||
plot 'data.csv' using 3:1 pt '.' title '', f(x) lt 7 title 'bmi'
|
plot 'data.csv' using 3:1 w dots title '', f(x) lt 7 title 'bmi'
|
||||||
#pause -1 'En attente de RETURN'
|
#pause -1 'En attente de RETURN'
|
||||||
|
@ -73,7 +73,7 @@ def save_file_data():
|
|||||||
linenum = 0
|
linenum = 0
|
||||||
for row in contents:
|
for row in contents:
|
||||||
if row.split(' ',1)[0] == 'plot':
|
if row.split(' ',1)[0] == 'plot':
|
||||||
contents.insert(linenum, "plot '"+args.data+"' using 3:1 pt '.' title '', f(x) lt 7 title 'bmi'\n")
|
contents.insert(linenum, "plot '"+args.data+"' using 3:1 w dots title '', f(x) lt 7 title 'bmi'\n")
|
||||||
del(contents[linenum+1])
|
del(contents[linenum+1])
|
||||||
linenum += 1
|
linenum += 1
|
||||||
f = open("Fonctionnel.txt", "w")
|
f = open("Fonctionnel.txt", "w")
|
||||||
|
Loading…
Reference in New Issue
Block a user