How to add data from gnuplot to an existing file without overwiting the contents of said file

后端 未结 1 407
南旧
南旧 2021-01-02 06:36

I have some gnuplot code as follows:

gnuplot> h=1
gnuplot> a=2
gnuplot> set print \"additional numbers.txt\"
gnuplot> print h,a
gnuplot> set p         


        
1条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-02 07:24

    Use the append flag:

    set print "additional_numbers.txt" append
    

    0 讨论(0)
提交回复
热议问题