On Thu, 27 Jan 2011, Hans Hagen wrote:
On 27-1-2011 8:08, Aditya Mahajan wrote:
where thirddata.GNUPLOT.transformation is a lua function that does all the fancy processing.
What exactly does it replace then? preprocessing in gnuplot and lilypond?
Yes... the preprocessing can be done more cleanly in lua. And these module will not have to do the book-keeping of creating external files and running programs on them. In addition, you get all the features of the filter module. So one could set the output directory: \setupGNUPLOT[directory=gnuplot] will create all temporary files in a 'gnuplot' directory. If a figure depends on an external data-set, you can choose to always run gnuplot on it. %by default only rerun if the file has changed \setupGNUPLOT[continue=yes] \startGNUPLOT[continue=no] ... read from data-set \stopGNUPLOT etc. Not to mention less maintenance for everyone.