saving . . . saved legends for subplots.. has been deleted. legends for subplots.. has been hidden .
legends for subplots..
Title
Question
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:

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

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

Login to add comment


Log-in to answer to this question.