diff options
Diffstat (limited to 'gnuplot.py')
-rwxr-xr-x | gnuplot.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -213,6 +213,11 @@ class Plot(object): | |||
213 | def gnuplot_exec(self): | 213 | def gnuplot_exec(self): |
214 | pipe2gnuplot(self.gnuplot_commands()) | 214 | pipe2gnuplot(self.gnuplot_commands()) |
215 | 215 | ||
216 | def gnuplot_save(self, fname): | ||
217 | f = open(fname, 'w') | ||
218 | f.write(str(self.gnuplot_commands())) | ||
219 | f.close() | ||
220 | |||
216 | def gnuplot_cmd(graphs, title=None, ylabel=None, xlabel=None, | 221 | def gnuplot_cmd(graphs, title=None, ylabel=None, xlabel=None, |
217 | format='show', term_opts=None, | 222 | format='show', term_opts=None, |
218 | style='linespoints', xrange=None, | 223 | style='linespoints', xrange=None, |