0

単一の列といくつかのエントリを持つデータセット (ファイル) があります。各エントリの水平線をプロットしたいと思います。ここで、各エントリは線の y 軸の値です。これどうやってするの?

4

1 に答える 1

1

What a strange plot you're trying to make. You can do it using vectors without heads:

set style arrow 1 nohead
plot 'datafile' using (0.0):1:(0.0):(2.0) with vectors arrowstyle 1

Or, in gnuplot shorthand (just for fun):

p 'datafile' u (0.0):1:(0.0):(2.0) w vec as 1

adjust yrange and xrange accordingly

于 2012-09-18T21:21:16.913 に答える