在matlab中使用图例命令时,如何减少图例符号及其对应标签之间的水平距离?Matlab:减少图例中符号和标签之间的间距
示例代码:
Line1=plot(x1,y1,'s');
Line2=plot(x2,y2,'o');
Line3=plot(x3,y3,'^');
Leg=legend([Line1, Line2, Line3],...
'Line1 text','Line2 text','Line3 text',...
'Location','NorthEast');
谢谢!这正是我想要做的。 – mrsoltys
很高兴能帮到你! –
这在R2015a中不起作用 – Veridian