Adjusting graph height