大家好!matlab中如何调整legend的位置? 谢谢!

大家好!matlab中如何调整legend的位置? 谢谢!

在图的窗口中,点击Edit的Figure Properties,之后拖动图例到想去的位置。

温馨提示:内容为网友见解,仅供参考
第1个回答  2012-11-20
c=legend('标注',4);
后面的数字表示位置,可以用1,2,3,4,分别表示右上,左上,左下,右下
第2个回答  推荐于2016-02-01
legend(...,'Location','location') uses location to determine where to place the legend. location can be either be a 1–by-4 position vector ([left,bottom,width,height]) or else(see: >>doc legend)本回答被网友采纳
第3个回答  2019-06-19
画好图后树手动拖动就好了
相似回答