changes made to the plot to even out the legend