|
From: Philipp K. J. <ja...@ie...> - 2014-10-28 21:36:20
|
I am trying to understand gnuplot's new "here doc" feature: $data << EOD 1 2 3 EOD plot $data Questions: 1) Are there other ways to get data into these data structures, besides typing it in at the cmd prompt? For instance, is there a way to read the data from a file? 2) Is there a preferred way to save the contents of the data structure to file? I can do it using: set table "data.txt"; plot $d; unset table Is this the right way to think about this? Best, Ph. |