fix error with scales
Fix plot aspect ratio.