moved the plot legend inside the plot area