P v diagram