Having “automatic” x

后端 未结 3 662
天涯浪人
天涯浪人 2020-12-29 04:45

Just a simple question (I imagine) but, lets say I have the following data file:

# no x data, it\'s sampled for instance each second.
23 42 48 
49 89 33
39 4         


        
3条回答
  •  醉酒成梦
    2020-12-29 05:24

    If you don't want to rely on awk, gnuplot can do this as well. See help plot datafile using and help plot datafile using pseudocolumns. Try:

    plot "file.dat" using (column(0)):3
    

提交回复
热议问题