MATLAB: I can’t find legend in plot

legend

If code is 'plot(w,'-o')' like this, I can see the legend and line type (2,3,4)
but code is 'plot(w,'-')' like this, I can't see the line type(1).
How can I setting for seeing legend(line type and Box line)?
please help me.

Best Answer

Unless you specifically used the approach in Remove Legend Background to remove the box, you are encountering a problem with certain AMD graphics drivers. A temporary fix is:
opengl software
See opengl for details.