Pressure studies on the pseudogap and critical temperatures of a high-T c superconductor