Phase diagrams for high T c superconductors