aboutsummaryrefslogtreecommitdiffstats
path: root/gnuplot.py
diff options
context:
space:
mode:
Diffstat (limited to 'gnuplot.py')
-rwxr-xr-xgnuplot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuplot.py b/gnuplot.py
index 955617e..aaff8f1 100755
--- a/gnuplot.py
+++ b/gnuplot.py
@@ -60,7 +60,7 @@ class FileGraph(object):
60 using_txt = "%s:%s" % (self.xcol, self.ycol) 60 using_txt = "%s:%s" % (self.xcol, self.ycol)
61 style = self.style if self.style else default_style 61 style = self.style if self.style else default_style
62 style_txt = " with %s" % style if style else "" 62 style_txt = " with %s" % style if style else ""
63 title_txt = " title '%s'" % self.title if self.title else "" 63 title_txt = ' title "%s"' % self.title if self.title else ""
64 return "'%s' using %s%s%s" % \ 64 return "'%s' using %s%s%s" % \
65 (self.fname, using_txt, title_txt, style_txt) 65 (self.fname, using_txt, title_txt, style_txt)
66 66
@@ -202,7 +202,7 @@ class Plot(object):
202 g("set label " + l.gnuplot_cmd()) 202 g("set label " + l.gnuplot_cmd())
203 203
204 if isset(self.output): 204 if isset(self.output):
205 g("set out '%s'" % self.output) 205 g('set out "%s"' % self.output)
206 206
207 g("replot") 207 g("replot")
208 208