Skip to content

Commit d19d7cb

Browse files
committed
Change line style for efficiency plots, text for configuration description.
1 parent 7eba011 commit d19d7cb

File tree

1 file changed

+8
-1
lines changed
  • scripts/incremental/benchmarking

1 file changed

+8
-1
lines changed

scripts/incremental/benchmarking/utils.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,18 @@ def cummulative_distr_plot(data_sets, base, figure_dir, outfile, figsize=None, t
236236
else:
237237
plt.figure()
238238
min = sys.maxsize
239+
240+
linestyle_tuple = [
241+
"solid",
242+
"--",
243+
(0, (10, 1)), # long dash
244+
(0, (3, 1, 1, 1)) # dash dots
245+
]
239246
for d in data_sets:
240247
min_d = d["values"].min()
241248
if min_d < min:
242249
min = min_d
243-
plt.plot(d["values"], base, label=d["label"])
250+
plt.plot(d["values"], base, linestyle=linestyle_tuple.pop(0), label=d["label"])
244251
plt.xlabel('Number of Commits')
245252
if logscale:
246253
plt.ylabel('Runtime in s ($log_{2}$ scale)')

0 commit comments

Comments
 (0)