diff options
| author | Christopher Kenna <cjk@cs.unc.edu> | 2012-05-07 13:16:26 -0400 |
|---|---|---|
| committer | Christopher Kenna <cjk@cs.unc.edu> | 2012-05-07 13:16:26 -0400 |
| commit | f23913d9ba30315f34cbd189e43f9840db1fc0b8 (patch) | |
| tree | 4b8359cfdf0fbeccb8afd0e225e038c3d2c2d891 | |
| parent | 2466523fc5830607af4cab04ebfdafcfcec040cf (diff) | |
change line colors and point sizeswip-mc
| -rwxr-xr-x | plot_rtas12_betaexp.py | 11 |
1 files changed, 6 insertions, 5 deletions
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): | |||
| 67 | p.key = 'off' | 67 | p.key = 'off' |
| 68 | 68 | ||
| 69 | p.line_styles = [ | 69 | p.line_styles = [ |
| 70 | (1, "lw {0} ps {1}".format(line_width, point_size)), | 70 | (1, 'lw {0} ps {1} lc rgbcolor "#ff0000"'.format(line_width, point_size)), |
| 71 | (2, "lw {0} ps {1}".format(line_width, point_size)), | 71 | (2, 'lw {0} ps {1} lc rgbcolor "#000000"'.format(line_width, point_size)), |
| 72 | (3, "lw {0} ps {1}".format(line_width, point_size)), | 72 | (3, 'lw {0} ps {1} lc rgbcolor "#0000ff"'.format(line_width, point_size)), |
| 73 | (4, "lw {0} ps {1}".format(line_width, point_size))] | 73 | (4, 'lw {0} ps {1} lc rgbcolor "#ff00ff"'.format(line_width, point_size))] |
| 74 | 74 | ||
| 75 | for i, c in enumerate(p.curves): | 75 | for i, c in enumerate(p.curves): |
| 76 | c.style = "linespoints ls %d" % (i + 1) | 76 | 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): | |||
| 110 | p.ylog = False | 110 | p.ylog = False |
| 111 | p.yrange = (-0.01, 1.01) | 111 | p.yrange = (-0.01, 1.01) |
| 112 | if (metric == 'rel-rt-mean' and coin_prob == 0.1 and xr is None): | 112 | if (metric == 'rel-rt-mean' and coin_prob == 0.1 and xr is None): |
| 113 | p.key = 'at 1, 100' | 113 | #p.key = 'on tmargin center horizontal maxcolumns 2' |
| 114 | pass | ||
| 114 | 115 | ||
| 115 | if for_jim: | 116 | if for_jim: |
| 116 | p.title = 'relative response time mean, 10% abberant' | 117 | p.title = 'relative response time mean, 10% abberant' |
