Eixo secundário com twinx (): como adicionar à legend

Tenho uma plotagem com dois eixos y, usandotwinx(). Também dou etiquetas às linhas e quero mostrá-las comlegend(), mas só consigo obter os rótulos de um eixo na legenda:

import numpy as np
import matplotlib.pyplot as plt
from matplotlib import rc
rc('mathtext', default='regular')

fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot(time, Swdown, '-', label = 'Swdown')
ax.plot(time, Rn, '-', label = 'Rn')
ax2 = ax.twinx()
ax2.plot(time, temp, '-r', label = 'temp')
ax.legend(loc=0)
ax.grid()
ax.set_xlabel("Time (h)")
ax.set_ylabel(r"Radiation ($MJ\,m^{-2}\,d^{-1}$)")
ax2.set_ylabel(r"Temperature ($^\circ$C)")
ax2.set_ylim(0, 35)
ax.set_ylim(-20,100)
plt.show()

Por isso, só obtenho os rótulos do primeiro eixo na legenda, e não o rótulo 'temp' do segundo eixo. Como eu poderia adicionar esse terceiro rótulo à legenda?

questionAnswers(6)

yourAnswerToTheQuestion