more helper functions
plots fits to the pressure