matlab修改legend方向

可以选择横排或者竖排

legend('AA', 'BB', 'orientation', 'Vertical')

legend('AA', 'BB', 'orientation', 'horizontal')

  

原文地址:https://www.cnblogs.com/jiangkejie/p/14211452.html