MATLAB 绘图时的相关心得

matlab中如何调整legend的位置?

legend('sinx',-1);  %----位于图形框外面
-----------------------
legend('sinx',0);--------最佳位置
legend('sinx',1);--------右上角
legend('sinx',2);--------左上角
legend('sinx',3);--------左下角
legend('sinx',4);--------右下角
原文地址:https://www.cnblogs.com/gladsomeboy/p/4478419.html