aboutsummaryrefslogtreecommitdiffstats
path: root/gnuplot.py
diff options
context:
space:
mode:
Diffstat (limited to 'gnuplot.py')
-rwxr-xr-xgnuplot.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnuplot.py b/gnuplot.py
index aa9e26b..737e909 100755
--- a/gnuplot.py
+++ b/gnuplot.py
@@ -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
216def gnuplot_cmd(graphs, title=None, ylabel=None, xlabel=None, 221def 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,