From f23913d9ba30315f34cbd189e43f9840db1fc0b8 Mon Sep 17 00:00:00 2001 From: Christopher Kenna Date: Mon, 7 May 2012 13:16:26 -0400 Subject: change line colors and point sizes --- plot_rtas12_betaexp.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'plot_rtas12_betaexp.py') diff --git a/plot_rtas12_betaexp.py b/plot_rtas12_betaexp.py index 88be801..f65b255 100755 --- a/plot_rtas12_betaexp.py +++ b/plot_rtas12_betaexp.py @@ -67,10 +67,10 @@ def set_plot_opts(opts, p): p.key = 'off' p.line_styles = [ - (1, "lw {0} ps {1}".format(line_width, point_size)), - (2, "lw {0} ps {1}".format(line_width, point_size)), - (3, "lw {0} ps {1}".format(line_width, point_size)), - (4, "lw {0} ps {1}".format(line_width, point_size))] + (1, 'lw {0} ps {1} lc rgbcolor "#ff0000"'.format(line_width, point_size)), + (2, 'lw {0} ps {1} lc rgbcolor "#000000"'.format(line_width, point_size)), + (3, 'lw {0} ps {1} lc rgbcolor "#0000ff"'.format(line_width, point_size)), + (4, 'lw {0} ps {1} lc rgbcolor "#ff00ff"'.format(line_width, point_size))] for i, c in enumerate(p.curves): c.style = "linespoints ls %d" % (i + 1) @@ -110,7 +110,8 @@ def plot_metric(opts, dat_dir, metric, coin_prob, xr=None, for_jim=False): p.ylog = False p.yrange = (-0.01, 1.01) if (metric == 'rel-rt-mean' and coin_prob == 0.1 and xr is None): - p.key = 'at 1, 100' + #p.key = 'on tmargin center horizontal maxcolumns 2' + pass if for_jim: p.title = 'relative response time mean, 10% abberant' -- cgit v1.2.2