This commit is contained in:
Casper 2018-09-05 13:40:01 +02:00
parent d8fc5422ea
commit d8b8c4137e
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@ -63,8 +63,11 @@ hm.invert_yaxis()
# fix xtics
locs, labels = plt.xticks()
plt.xticks(locs, [f"$2^{{{int(math.log2(int(i.get_text())))}}}$" for i in labels])
plt.xlabel("n")
locs, labels = plt.yticks()
plt.yticks(locs, [f"$2^{{{int(math.log2(int(i.get_text())))}}}$" for i in labels])
plt.ylabel("step")
plt.show()