Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fig, ax = plt.subplots(2,1,figsize=(10,7),dpi=150)
- ax[0].plot(dateList_mask[T_s:T_e],numpy.array(SM)[~mask][T_s:T_e,0])
- ax[0].tick_params(direction='out')
- ax[0].tick_params(top='off',bottom='on',left='on',right='off')
- ax[0].set_ylabel('SM')
- ax[1].plot(dateList_mask[T_s:T_e],numpy.array(SQ)[~mask][T_s:T_e,0])
- ax[1].tick_params(direction='out')
- ax[1].tick_params(top='off',bottom='on',left='on',right='off')
- ax[1].set_ylabel('SQ')
- ax2 = ax[1].twinx()
- ax2.plot(dateList_mask,pre[~mask],color = '0.5')
- ax2.set_ylim(ymin = 0)
- ax2.invert_yaxis()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement