Given the following plot
Plot[{Sin[x],Cos[x]},{x,0,2\[Pi]},Epilog->Inset[Framed[LineLegend[{Directive[Black],Directive[Red,Dashed]},{"Phase=1, BG=A","Phase=2, BG=O"}],RoundingRadius->5],Scaled[{0.625,0.3}]]]
How can we make the legend size smaller?
size=.2; Plot[{Sin[x], Cos[x]}, {x, 0, 2 \[Pi]}, Epilog -> Inset[Rasterize[ Framed[LineLegend[{Directive[Black], Directive[Red, Dashed]}, {"Phase=1, BG=A", "Phase=2, BG=O"}], RoundingRadius -> 5], RasterSize -> 500], Scaled[{0.625, 0.3}], {0.5, 0.5}, Scaled[size]]]
work in your version/OS? $\endgroup$