When I am plotting figure in matlab with many legend entries, the legend box is covering my plot area and making some plots invisible.I tried using 'Orientati​on','Horiz​ontal',but it spreads out to a larger row.Can anyone help me to resolve issue?

4 views (last 30 days)
<<
>>

Accepted Answer

KL
KL on 23 Aug 2017
legend('Location','northoutside','Orientation','horizontal')
I guess you might also want to fold it into two lines as shown here.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!