Skip to content

Commit

Permalink
Added axis and legend
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolpantunes committed Feb 7, 2024
1 parent 47065fa commit f7a8066
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/plot_journal_mrc.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ def main():
x = points[:,0]
y = points[:,1]
plt.plot(x, y, color= colormap[0])
plt.legend(['MRC (LRU)'])

plt.xlabel('Cache Size (GB)')
plt.ylabel('Miss Ratio')

# Arrows
plt.annotate('A', xy=(1.29E4, 0.796), weight='bold', color=colormap[3], xytext=(2.29E4,.82), arrowprops=dict(arrowstyle='->', lw=1.5))
Expand Down

0 comments on commit f7a8066

Please sign in to comment.