do not include gas info for non-gas graphs

This commit is contained in:
William Clark 2024-08-21 19:26:55 +01:00
parent 42ab393dce
commit a5a125482c

View File

@ -1,11 +1,12 @@
# gnuplot
reset
set key autotitle columnhead
set key autotitle columnhead top left spacing 2
set terminal pngcairo enhanced size 2*1920/3,2*1080/3
set grid
set grid linewidth 2
set xdata time
set timefmt "%Y-%m-%dT%H:%M:%S%z"
set xtics format "%d/%m\n%H:%M"
# gas res vs time
set title "[I_{dac}=100, 100ms, target=300 C] GasRes over time"
@ -15,21 +16,21 @@ set output "gas.png"
plot 'i2c.txt' u 1:5 w p pt 3 ps 1 t "bme680-i2c", \
'spi.txt' u 1:5 w p pt 3 ps 1 t "bme680-spi"
set title "[I_{dac}=100, 100ms, target=300 C] Temperature over time"
set title "Temperature over time"
set xlabel "Time"
set ylabel "Temperature (C)"
set output "temp.png"
plot '../data/i2c.txt' u 1:2 w p pt 3 ps 1 t "bme680-i2c", \
'../data/spi.txt' u 1:2 w p pt 3 ps 1 t "bme680-spi"
set title "[I_{dac}=100, 100ms, target=300 C] Pressure over time"
set title "Pressure over time"
set xlabel "Time"
set ylabel "Pressure (Pa)"
set output "press.png"
plot '../data/i2c.txt' u 1:3 w p pt 3 ps 1 t "bme680-i2c", \
'../data/spi.txt' u 1:3 w p pt 3 ps 1 t "bme680-spi"
set title "[I_{dac}=100, 100ms, target=300 C] Humidity over time"
set title "Humidity over time"
set xlabel "Time"
set ylabel "Humidity (%RH)"
set output "hum.png"