How to adjust the position of legend when creating plot using matlab?

How to adjust the position of legend when creating plot using matlab? When the plot is displayed the legend is making the points invisible by overlapping it.

 Accepted Answer

Use the 'Locatiion' property to position it in your program. See Specify Legend Location for details. Or, you can simply drag it to where you want it interactively.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!