I would like to put legends inside each one of the subplots below. I\'ve tried with plt.legend but it didn\'t work.
Any suggestions?
Thanks in advance :-)>
This should work:
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")