How can I tell eplot that my first column contains timestamps?
I have tried this:
echo '2022-12-15T12:18:26 104.8
2022-12-16T12:36:16 81.36
2022-12-17T14:06:25 79.875' | eplot -d -x 'xdata time; timefmt "%Y-%m-%dT%H:%M:%S"'
and
echo '2022-12-15T12:18:26 104.8
2022-12-16T12:36:16 81.36
2022-12-17T14:06:25 79.875' | eplot -d -x 'xdata time' -x 'timefmt "%Y-%m-%dT%H:%M:%S"'
(and without -x).
But it's still wrong.
(Sorry if my approach is completely wrong. I don't have experience with gnuplot. I just found eplot and thought it would be great if it's really that easy!)
This is the corresponding gnuplot script:
set terminal dumb
set xdata time
set timefmt "%Y-%m-%dT%H:%M:%S"
set grid
plot 'data.txt' using 1:2 with lines
EDIT: Simplify tested eplot commands. Add working gnuplot script.
How can I tell
eplotthat my first column contains timestamps?I have tried this:
and
(and without
-x).But it's still wrong.
(Sorry if my approach is completely wrong. I don't have experience with
gnuplot. I just foundeplotand thought it would be great if it's really that easy!)This is the corresponding
gnuplotscript:EDIT: Simplify tested
eplotcommands. Add workinggnuplotscript.