How to change legends place with Plots, gr()?



I’m using Plots and GR, and can’t find a way to change the legends location in a plot. As I understand currently I can’t do it with Plots, there’s no keyword argument for it (correct me if I’m wrong).
Can someone please shoew me a method how to do that? I would prefer a solution with Plots with GR backend.

using Plots

Possible keywords are :right, :left, :top, :bottom, :inside, :best, :legend, :topright, :topleft, :bottomleft, :bottomright

:outertopright not yet supported :frowning: (in GR)


Tank you! That is what I’m looking for.


Is there support for specifying number of columns in the legend list? (Like in PyPlot…)