blob: 0ddc61b127f716aae74b48d718d6d4dc65b6d161 [file] [log] [blame]
avm9996373e13142020-08-31 01:59:30 +02001num = system("cat ".graphDataFile." | wc -l")
2
3startGray = 0;
4endGray = 0.5;
5
6set palette model RGB functions startGray + (endGray - startGray)*(1 - gray), startGray + (endGray - startGray)*(1 - gray), startGray + (endGray - startGray)*(1 - gray)
7set cbrange [0:(num - 1)]
8unset colorbox
9
10set title graphTitle."\n{/*0.4 Ăšltima dada (punt blau): ".lastUpdated."}"
11plot 6*x w filledcurve y1=0 lt rgb "#ff9494", 100/x w filledcurve y1=0 lt rgb "#ffe494", 70/x w filledcurve y1=0 lt rgb "#dbff94", 30/x w filledcurve y1=0 lt rgb "#a0ff94", graphDataFile u 2:3:4 w lp lc palette pt 2 ps 0.5, "< tail -n 1 ".graphDataFile u 2:3 w lp pt 7 ps 0.7 lt rgb "#002991"