aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn B. Brandenburg <bbb@cs.unc.edu>2010-05-23 18:06:17 -0400
committerBjörn B. Brandenburg <bbb@cs.unc.edu>2010-05-23 18:06:17 -0400
commit996ef00868169b6d32a18bac0ecac5274315b600 (patch)
tree6004675b6e9dbb7e367768b893d56593dbc7e6ab
parente07164bf5e6bd064e728f38aeb24805823009dc4 (diff)
Include line types as well.
-rwxr-xr-xgnuplot.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnuplot.py b/gnuplot.py
index 1a55fc6..c4e2afd 100755
--- a/gnuplot.py
+++ b/gnuplot.py
@@ -201,7 +201,9 @@ class GnuPlotter(defapp.App):
201 def do_linedemo(self, _): 201 def do_linedemo(self, _):
202 graphs = ["%d title 'ls %d'" % (x, x) #, x) # with linespoints ls %d 202 graphs = ["%d title 'ls %d'" % (x, x) #, x) # with linespoints ls %d
203 for x in xrange(1,10)] 203 for x in xrange(1,10)]
204 self.options.yrange = (0, 10) 204 graphs += ["%d title 'lt %d' with lines lt %d" % (10 + x, x, x)
205 for x in xrange(1,10)]
206 self.options.yrange = (0, 20)
205 self.options.xrange = (0, 10) 207 self.options.xrange = (0, 10)
206 self.options.xticks = (0, 10) 208 self.options.xticks = (0, 10)
207 self.options.yticks = (0, 1) 209 self.options.yticks = (0, 1)