plot curve fitting params to file