pattern oneself on vs take as a pattern

pattern oneself on

take as a pattern

How often have the words pattern oneself on and take as a pattern occurred in a corpus of books? (source: Google Ngram Viewer )