If the data can be exported to something like CSV, it can be plotted using gnuplot into a nice ASCII art.
Data-example (incomplete):
date_trunc;temperature;humidity;oventemperature 2024-06-28 16:25:31;22.5;99.9;27.2 2024-06-28 16:25:43;22.59;99.9;27.2 2024-06-28 16:25:53;22.59;99.9;27.2 2024-06-28 16:26:04;22.59;99.9;27.2 2024-06-28 16:26:15;22.59;99.9;27.2 2024-06-28 16:26:18;22.59;99.9;27.2 2024-06-28 16:26:28;22.59;99.9;27.2 2024-06-28 16:26:39;22.59;99.9;26.5 2024-06-28 16:26:49;22.59;99.9;27 ...
Gnuplot-file for this:
set title "Bedroom\nTemperature BME" set datafile separator ";" # Set virtual terminal size to 120x30 and print to STDOUT set terminal dumb size 120,30 set xlabel "Logtime" set ylabel "Sensorvalue" set xdata time #set timefmt "%Y-%m-%d" #set xrange ["03/21/95":"03/22/95"] set format x "%d.%m\n%H:%M" set timefmt "%Y-%m-%d %H:%M:S" set key autotitle columnhead outside plot "bme.csv" using 1:2 title "Room temp(Celsius)" with lines, \ "dht.csv" using 1:4 title "Oven temp (Celsius)" with lines
"bme.csv" using 1:2 specifies the filename and which two columns to use for a given plotline (first one is always the timestamp in my case). You can use the same file with different columns, or use different files altogether.
Result:
Bedroom + Temperature BME + 28 +------------------------------------------------------------- +-------------------+ | + + + + + + + + # + | Room temp(Celsius) ******* | # # ## #### ## # # # # + # # # # # # | Oven temp (Celsius) ####### 27 |-+ ######################################################## +################ +-| | ############## ##################### # ## ########### # +#### ########### | | ##### ######## ### ################# # ## ########### # +#### ############ | | ## # # # # + # #### ## ### | 26 |-+ + # ## ###+-| | + # # ### | | + # ## | 25 |-+ + ##+-| | + ## | | + # | | + # | 24 |-+ + #+-| | + # | | + # | 23 |-+ + #+-| | + ******** | | ******************************************************** +********** | | + + + + + + + + + | 22 +------------------------------------------------------------- +-------------------+ 28.06 28.06 28.06 28.06 28.06 28.06 28.06 2 +8.06 28.06 28.06 16:15 16:30 16:45 17:00 17:15 17:30 17:45 1 +8:00 18:15 18:30 Logtime
In reply to Re^3: Comparing graph shapes or soft matching.
by cavac
in thread Comparing graph shapes or soft matching.
by tweetiepooh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |