diff options
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(): |
