|
From: Philipp K. J. <ja...@ie...> - 2014-10-29 01:47:12
|
> > 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? > > Normally it is part of a script file. > Many of the demos have been re-written to use it. > See for example heatmaps.dem That's precisely where I am coming from - I am trying to figure out how it would fit into an interactive workflow. (I can of course see how it keeps the demo scripts tidy and self-contained.) > > > 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? > > set print 'foo' > print $data > Bingo - I had missed that. Thanks! > |