Graphing data without gnumeric. How?
I am running a "cutdown" puppy that does not have gnumeric installed (I can install it but choose not to at present...)
I am measuring data from a battery charging experiment and would like to visualise a "line" of time versus voltage. ie: I would like to visualise a graph of my data.
Has anyone scripted a simple way to create some form of terminal (or text file) graph of simple data?
This webpage does suggest options but I would prefer to achieve this with existing puppy tools:
https://www.baeldung.com/linux/cli-char ... ting-tools
(I particularly wish to avoid python if possible..)
Example of my data (Charging fully discharged 12volt LiFePo4 battery of capacity 10AH and charge current of 2A):
Time Voltage
16.47 0.15
16.48 11.3
16.49 11.6
16.51 12.05
16.52 12.1
16.56 12.5
17.02 12.86
17.08 13.1
17.15 13.12
17.20 13.13
17.35 13.22
17.45 13.29
17.55 13.33
18.15 13.42
18.22 13.44
18.57 13.45
..continues...
(I expect the voltage parameter to trend upwards to an eventual endpoint of 14.5 volts or so)
Possibly I should reformat the "time" in terms of "seconds".
Has anyone done something similar??
Cheers!
EDIT 1: One challenge is that my "x" data is not necessarily regular - ie I dont remember to make measurements every minute. The gap between "time" values will be irregular. So the script maybe has to "pad out" or "space out" the recorded values.
EDIT 2: There is a utility called "gnuplot" that seems interesting - though this has a minimum of 12MB of dependencies - but my gut feeling is that a simple x,y plot should be lighter and simpler than this. I know Bash arithmetic is not the best - but surely there is a way to do this in a lightweight way??