|
From: Mirko V. <mir...@gm...> - 2009-02-25 19:45:42
|
Leigh has written a `save-plot' that saves the plot in post-script format. I think we should reserve the name save-plot to save a plot. What do I mean by that: We should have a routine to save all the plot data (and hopefully formatting parameters) into a file that can be read at a later date and used to restore a plot. I would find such a feature tremendously useful. Especially if the data in the restored plot can be read into a lisp session. I am not sure how to implement that. As a start, each window should have an associated variable (object) that stores the names of the data files used by gnuplot, and the list of plot commands. Upon a (save-plot file-name) the files should be zipped into an archive and an additional file with plot commands stored in it as well. As for saving plots in other formats, how about using names such as `render' or `export'. `Dump' which I used is too hackerish. Maybe there is a better name than save-plot for saving plots. Mirko |