plot the energetic cost breakdown as a function of pH.