第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)本回答被网友采纳