Adjusted margins and heights for the graph