legends for subplots..
can we use legend command for subplots? how?

Python-3.4.3 Subplots 05-06 min 40-50 sec 21-04-20, 6:56 p.m. gourihalde@gmail.com

Answers:

Yes it is possible to use the legend in subplots. Rever the example given below

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")
21-04-20, 7:13 p.m. iakashchavan

21-04-20, 7:14 p.m. iakashchavan


Click here to reply/comment online