diff options
author | Christopher Kenna <cjk@cs.unc.edu> | 2011-10-15 04:43:22 -0400 |
---|---|---|
committer | Christopher Kenna <cjk@cs.unc.edu> | 2011-10-15 04:43:22 -0400 |
commit | 478e2b8c1a3fd0a44b52bcd0ec38fa4cb8fc2603 (patch) | |
tree | c8846a95d486c58b21a3bdd105c9d25c1cb6362f /plot_rtas12_betaexp.py | |
parent | 1bec2470a77e893b2022b508afa09f1a73fcdb39 (diff) |
fix key
Diffstat (limited to 'plot_rtas12_betaexp.py')
-rwxr-xr-x | plot_rtas12_betaexp.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plot_rtas12_betaexp.py b/plot_rtas12_betaexp.py index 31846f4..dd26e85 100755 --- a/plot_rtas12_betaexp.py +++ b/plot_rtas12_betaexp.py | |||
@@ -52,6 +52,7 @@ def set_plot_opts(p): | |||
52 | p.default_style += ' smooth bezier' | 52 | p.default_style += ' smooth bezier' |
53 | p.monochrome = False | 53 | p.monochrome = False |
54 | p.ylog = True | 54 | p.ylog = True |
55 | p.key = 'off' | ||
55 | 56 | ||
56 | p.line_styles = [(1, "lw 1.5 ps 0.4"), | 57 | p.line_styles = [(1, "lw 1.5 ps 0.4"), |
57 | (2, "lw 1.5 ps 0.4"), | 58 | (2, "lw 1.5 ps 0.4"), |
@@ -94,6 +95,8 @@ def plot_metric(opts, dat_dir, metric, coin_prob, xr=None): | |||
94 | if -1 != metric.find('ratio'): | 95 | if -1 != metric.find('ratio'): |
95 | p.ylog = False | 96 | p.ylog = False |
96 | p.yrange = (-0.01, 1.01) | 97 | p.yrange = (-0.01, 1.01) |
98 | if metric == 'miss-ratio' and coin_prob == 0.1: | ||
99 | p.key = 'top right' | ||
97 | p.gnuplot_exec() | 100 | p.gnuplot_exec() |
98 | 101 | ||
99 | def main(): | 102 | def main(): |