I have data in file and they have date/time point and value. The line in data is written only when value change. For example:
10:01 12.00
10:12 8.00
10:14 9.00
I would like to plot a graph which will not draw line straight from one point to other, drawing declining line, but keep horizontal line until point 10:12 and then jump to value 8.00 and then keep horizontal line in value 8.00 until end then jumping to 9.00
I was searching around, but the challenge is that I have no idea what is proper name of such a graph. I hope you can help me to draw it in gnuplot. Thank you in advance.
Actually, there is even another step style
fillsteps
. I found a little example in my own fund. It also illustrates how the styles behave when there is an empty line in the data. The lines are slightly shifted to better see the differences.Code:
Result: