How to do horizontal lines from a one column file using gnuplot? -
having file 1 column of data example:
10
2
34
4.5
16
i'd plot stack of horizontal lines plotting horizontal line let's -3 3 (x range) y value equal first row (10 in example), replot horizontal line ranging x=[-3:3] y value equal second row (2 in example), , on.
how can it?
use vectors
plotting style.
plot "file" using (-3):($1):(6):(0) vectors nohead
the 4 values in using
expression x
(plain number -3), y
(value first column), dx
, dy
.
Comments
Post a Comment