Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. fig, ax = plt.subplots(2,1,figsize=(10,7),dpi=150)
  2.  
  3. ax[0].plot(dateList_mask[T_s:T_e],numpy.array(SM)[~mask][T_s:T_e,0])
  4.  
  5. ax[0].tick_params(direction='out')
  6. ax[0].tick_params(top='off',bottom='on',left='on',right='off')
  7. ax[0].set_ylabel('SM')
  8.  
  9. ax[1].plot(dateList_mask[T_s:T_e],numpy.array(SQ)[~mask][T_s:T_e,0])
  10. ax[1].tick_params(direction='out')
  11. ax[1].tick_params(top='off',bottom='on',left='on',right='off')
  12. ax[1].set_ylabel('SQ')
  13.  
  14. ax2 = ax[1].twinx()
  15. ax2.plot(dateList_mask,pre[~mask],color = '0.5')
  16. ax2.set_ylim(ymin = 0)
  17. ax2.invert_yaxis()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement