matplotlib basics 1

import matplotlib.pyplot as plt
%matplotlib inline
plt.plot([3,7,8],[5,2,9],label="FirstLine")
plt.plot([2,5,7],[3,5,1],label="Second Line")
plt.xlabel('X-label sample')
plt.ylabel('Y-label sample')
plt.title('Interesting Graph\nCheckit out')
plt.legend()
plt.show()


No comments:

Post a Comment