Modified example to account for the different aspect ratios of the plot.