stay up vs wait up

stay up

verb
  • To remain awake, to not go to bed. 

  • To maintain an erection. 

  • To remain in a raised or upright position. 

wait up

verb
  • To stay awake waiting for somebody to return. 

  • To wait. 

How often have the words stay up and wait up occurred in a corpus of books? (source: Google Ngram Viewer )