Initial commit
This commit is contained in:
commit
6097028fee
1
README.md
Normal file
1
README.md
Normal file
@ -0,0 +1 @@
|
||||
Scrips to retrieve (update_temps.sh) and to plot data (plot_temp_record.p) in Gnuplot from my Rpi.
|
21
plot_temp_record.p
Normal file
21
plot_temp_record.p
Normal file
@ -0,0 +1,21 @@
|
||||
# Set x-axis as time
|
||||
set xdata time
|
||||
|
||||
# Set separator
|
||||
set datafile separator "\t"
|
||||
|
||||
# Set format of time
|
||||
set timefmt "%d/%m/%Y\t%H:%M"
|
||||
|
||||
# Start from 19/04/2020 @ 15:00
|
||||
set xrange ["19/04/2020\t15:00":]
|
||||
|
||||
# Set axis titles
|
||||
set ylabel "Temperature ['C]
|
||||
set xlabel "Date"
|
||||
|
||||
# Plot the data
|
||||
plot "temp_record" u 1:3 w lines title "GPU", "temp_record" u 1:4 w lines title "CPU"
|
||||
|
||||
# Hit enter to kill the plot
|
||||
pause -1
|
14557
temp_record
Normal file
14557
temp_record
Normal file
File diff suppressed because it is too large
Load Diff
1
update_temps.sh
Executable file
1
update_temps.sh
Executable file
@ -0,0 +1 @@
|
||||
rsync -avhP pi@raspitorrent:/home/pi/temp_record .
|
Loading…
Reference in New Issue
Block a user