Move legend to upper left corner in plots.