|
From: Tait <gnu...@t4...> - 2014-01-23 01:31:43
|
The '' syntax re-uses the file name, not the file data. With a normal file the '' actually re-reads the file again, which is why when gnuplot goes to re-read from inline you must re-supply the data. To reuse the file's data, gnuplot would obviously have to cache it, and that is impractical or impossible for large data sets. I think I recall some discussion along the lines of implementing a named data store feature that would explicitly instruct gnuplot to cache a particular (potentially inline) data set, but I'm not sure whether it was completed. To only type in the data once, put it into a regular file with the appropriate format, and reference it by its file name. Theo <th...@gm...> said (on 2014/01/22): > Hi there, > > if I want to include (for some special reason) data into the plotting > file itself I can use the special filename '-' and write the data in the > plot file... > > Why can't I use the same data twice? Can anybody explain? > Is there a way that I have to type in the data only once? |