MATLAB: Splitting legend in north and south

legendMATLABplot

Hi,
I have two plots and I want the first legend in the north and the second legend in the bottom.
I tried functions in the following link
and "legend" command to set manually. Both of them allowing to set one legend either top or bottom but I don't know how to create two legends at two locations. Please tell me how can I do that.

Best Answer

I suggest using legendflex from the File Exchange.
Related Question