aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2011-06-28 11:14:13 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2011-06-28 11:14:13 -0400
commited226c60eb7ae7d6af4d55a85ebdce17e81c9374 (patch)
tree82cb26c84708782b2c4d871a6b4bc9f9de3e3da2
parent1c2e1bffd7fa66ad987d14c29e4b5842c035ae2d (diff)
Support setting the point size.
-rwxr-xr-xgnuplot.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnuplot.py b/gnuplot.py
index 36ab73c..cb341c6 100755
--- a/gnuplot.py
+++ b/gnuplot.py
@@ -126,6 +126,7 @@ class Plot(object):
126 self.monochrome = None 126 self.monochrome = None
127 self.dashed_lines = None 127 self.dashed_lines = None
128 self.rounded_caps = None 128 self.rounded_caps = None
129 self.pointsize = None
129 130
130 self.xrange = None 131 self.xrange = None
131 self.xticks = None 132 self.xticks = None
@@ -219,6 +220,9 @@ class Plot(object):
219 if self.title: 220 if self.title:
220 g('set title "%s"' % self.title) 221 g('set title "%s"' % self.title)
221 222
223 if isset(self.pointsize):
224 g("set pointsize %s" % self.pointsize)
225
222 logscale = "" 226 logscale = ""
223 if self.xlog: 227 if self.xlog:
224 logscale += "x" 228 logscale += "x"