aboutsummaryrefslogtreecommitdiffstats
path: root/gnuplot.py
diff options
context:
space:
mode:
Diffstat (limited to 'gnuplot.py')
-rwxr-xr-xgnuplot.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnuplot.py b/gnuplot.py
index cb341c6..a2b0b94 100755
--- a/gnuplot.py
+++ b/gnuplot.py
@@ -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)