updated legend positioning and sizing in plotter