The Analogy Between Rotating and Stratified Fluids