From 478e2b8c1a3fd0a44b52bcd0ec38fa4cb8fc2603 Mon Sep 17 00:00:00 2001 From: Christopher Kenna Date: Sat, 15 Oct 2011 04:43:22 -0400 Subject: fix key --- plot_rtas12_betaexp.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plot_rtas12_betaexp.py') 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): p.default_style += ' smooth bezier' p.monochrome = False p.ylog = True + p.key = 'off' p.line_styles = [(1, "lw 1.5 ps 0.4"), (2, "lw 1.5 ps 0.4"), @@ -94,6 +95,8 @@ def plot_metric(opts, dat_dir, metric, coin_prob, xr=None): if -1 != metric.find('ratio'): p.ylog = False p.yrange = (-0.01, 1.01) + if metric == 'miss-ratio' and coin_prob == 0.1: + p.key = 'top right' p.gnuplot_exec() def main(): -- cgit v1.2.2