Positioning Legends in Multi Plots

Hi.

Is it possible to position the legends next to their corresponding subplot?

Let’s say I have 2 by 3 subplots. I would like the legend for the first subplot to appear in the vicinity of that subplot (on the margin or within the subplot). The legend for the second subplot to appear by the second subplot, and etc.

Is this possible please?

Paul