Added option to have figure dimension approx. in the golden ratio.
@@ -32,6 +32,10 @@ parser.add_argument(
'-Y', '--y-log',
help='Draw the Y-axis using a logarithmic scale',
action='store_true')
+parser.add_argument(
+ '-G', '--golden',
+ help='Use golden ratio as plotsize',
+ action='store_true')
parser.add_argument(
'--raw',
help='Also show raw results in faded colours',
@@ -47,6 +51,9 @@ for ds, fn_out in args.dataset:
all_data = runs[ds]
handles = []
labels = []
+ if args.golden:
+ plt.figure(figsize=(7, 4.35))
+ else:
plt.figure(figsize=(7, 7))
for algo in sorted(all_data.keys(), key=lambda x: x.lower()):
xs, ys, axs, ays, ls = create_pointset(algo, all_data, xm, ym)
