[haskell-gnuplot] handling of tuples

Henning Thielemann lemming at henning-thielemann.de
Thu May 7 10:23:03 EDT 2009


On Thu, 7 May 2009, allan wrote:

> Henning Thielemann wrote:
>> 
>> I didn't know that gnuplot also handles this format. The idea sounds great, 
>> so I will use this format and I will also call the files .csv. However, the 
>> temporary files are artifacts of the current gnuplot binding, so in a 
>> Haskell program you should not rely on particalur file names, their format 
>> or that temporary files are used at all. We could however add functions for 
>> exporting data series to a file.
>
> Yes this is a good point you certainly shouldn't rely on it. But it's still 
> nice if the user happens to see a "curve.dat" (or "curve.csv") in the local 
> directory and they happen to want the .csv file anyway. As for adding 
> functions to export the data series to a file, I would say this is provided 
> by the 'csv' package.

... and by my 'spreadsheet' package (which is additionally lazy on 
parsing). :-)

Thanks for the suggestion! I have altered the code according to it. See 
repository.



More information about the Gnuplot mailing list