move legend in plot

This commit is contained in:
theano
2015-11-21 12:09:12 -08:00
committed by Bastian Bloessl
parent 246c394658
commit 81ff17ccd5
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ for enc in sorted(table.keys()): # sort so legend labels are in order
plt.ylabel("PDR")
plt.xlabel("SNR")
plt.title("Delivery rate vs. SNR for different encoding schemes")
plt.legend()
plt.legend(loc="upper left")
plt.savefig(os.path.join(path,"plot.png"))
plt.show()