diff options
Diffstat (limited to 'plot_exps.py')
| -rwxr-xr-x | plot_exps.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plot_exps.py b/plot_exps.py index 15c54d0..2d6f06b 100755 --- a/plot_exps.py +++ b/plot_exps.py | |||
| @@ -85,12 +85,12 @@ def plot_by_variable(details): | |||
| 85 | axes.set_title(details.title) | 85 | axes.set_title(details.title) |
| 86 | 86 | ||
| 87 | lines, labels = zip(*style_map.get_key()) | 87 | lines, labels = zip(*style_map.get_key()) |
| 88 | axes.legend(tuple(lines), tuple(labels), prop={'size':10}) | 88 | axes.legend(tuple(lines), tuple(labels), prop={'size':10}, loc=2) |
| 89 | 89 | ||
| 90 | axes.set_ylabel(details.value) | 90 | axes.set_ylabel(details.value) |
| 91 | axes.set_xlabel(details.variable) | 91 | axes.set_xlabel(details.variable) |
| 92 | axes.set_xlim(0, axes.get_xlim()[1] + 1) | 92 | axes.set_xlim(0, axes.get_xlim()[1]) |
| 93 | axes.set_ylim(0, axes.get_ylim()[1] + 1) | 93 | axes.set_ylim(0, axes.get_ylim()[1]) |
| 94 | 94 | ||
| 95 | plot.savefig(details.out, format=OUT_FORMAT) | 95 | plot.savefig(details.out, format=OUT_FORMAT) |
| 96 | 96 | ||
