How can I properly format my legend to be below my graph, but not overlap the plot itself?

Hello, I am trying to take the legend shown on the right in my plot and add it to the bottom of the plot.

When I attempted to do it with my test plot I got a large amount of the legend overlapping the plot itself:

How do I fix this ?

Hi @dylanblevins49, try adjusting the x and y values to your needs:

will the same syntax work for moving the legend down as well? currently the legend covers about half of my plotted point when i add it to the bottom of my plot

Yes. See Also here:

Search on this size for

Legend Positioning