I want to add legend to Show
. I tried as below by the help of how to add plotlegends in a show function:
Show[des = PolarPlot[2 Sin[2 t], {t, 0, 2 Pi}, PlotStyle -> {Gray, Dashed}],
Epilog -> Inset[Framed[Column[{PointLegend[{Lighter[Yellow]}, {"Data"}],
LineLegend[{Darker[Blue]},
{"f(x)=\!\(\*SuperscriptBox[\(x\[ExponentialE]\), \\(-x\)]\)"}]}],
RoundingRadius -> 5], Scaled[{0.8, 0.85}]]]
But the legend comes in the graph. I failed to put it out of the graph. Could anyone help?