diff options
Diffstat (limited to 'gnuplot.py')
-rwxr-xr-x | gnuplot.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -63,7 +63,10 @@ class FileGraph(object): | |||
63 | using_txt = "%s:%s" % (self.xcol, self.ycol) | 63 | using_txt = "%s:%s" % (self.xcol, self.ycol) |
64 | style = self.style if self.style else default_style | 64 | style = self.style if self.style else default_style |
65 | style_txt = " with %s" % style if style else "" | 65 | style_txt = " with %s" % style if style else "" |
66 | title_txt = ' title "%s"' % self.title if self.title else "" | 66 | if self.title == 'notitle': |
67 | title_txt = ' notitle' | ||
68 | else: | ||
69 | title_txt = ' title "%s"' % self.title if self.title else "" | ||
67 | smooth_txt = ' smooth %s' % self.smooth if self.smooth else "" | 70 | smooth_txt = ' smooth %s' % self.smooth if self.smooth else "" |
68 | return "'%s' using %s%s%s%s" % \ | 71 | return "'%s' using %s%s%s%s" % \ |
69 | (self.fname, using_txt, title_txt, style_txt, smooth_txt) | 72 | (self.fname, using_txt, title_txt, style_txt, smooth_txt) |