Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

legend matplotlib


import matplotlib.pyplot as plt

#define x and ysin
plt.plot(x,ysin,label='sin(x)')
plt.legend()
plt.show()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #legend #matplotlib
ADD COMMENT
Topic
Name
9+8 =