diff options
Diffstat (limited to 'gnuplot.py')
-rwxr-xr-x | gnuplot.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||