Skip to content

Commit

Permalink
Tweaks to the graph
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-zhao committed Jul 11, 2023
1 parent 839d88c commit 53bfc2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file modified benchmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions benchmark/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,13 @@ def main():
zorder=index+100 # dots from 100
)

matplotlib.pyplot.xlabel("Bytes per frame")
matplotlib.pyplot.xlabel("Bytes per frame (more is better)")
matplotlib.pyplot.xscale("log")
matplotlib.pyplot.minorticks_on
matplotlib.pyplot.gca().xaxis.set_major_formatter(matplotlib.ticker.ScalarFormatter())
matplotlib.pyplot.gca().xaxis.set_minor_formatter(matplotlib.ticker.ScalarFormatter())
matplotlib.pyplot.ylabel("Compression level")
matplotlib.pyplot.ylabel("Compression level (more is better)")
matplotlib.pyplot.gca().yaxis.set_major_formatter(matplotlib.ticker.PercentFormatter(1.0))
matplotlib.pyplot.legend()
matplotlib.pyplot.gcf().set_figwidth(10)
matplotlib.pyplot.gcf().set_figheight(6)
Expand Down

0 comments on commit 53bfc2f

Please sign in to comment.