legends for subplots..
Title
Question
can we use legend command for subplots? how?
Python-3.4.3 Subplots 05-06 min 40-50 sec
Answers:
<span style="background-color: rgb(255, 255, 255);">Yes it is possible to use the legend in subplots. Rever the example given below</span>
ax1.plot(xtr, color='r', label='HHZ 1')
ax1.legend(loc="upper right")
ax2.plot(xtr, color='r', label='HHN')
ax2.legend(loc="upper right")
ax3.plot(xtr, color='r', label='HHE')
ax3.legend(loc="upper right")
Login to add comment