matlab中Legend函数的位置用法 您所在的位置:网站首页 matlabsubplot图例 matlab中Legend函数的位置用法

matlab中Legend函数的位置用法

2024-03-06 03:25| 来源: 网络整理| 查看: 265

Legend位置大全

摘自:http://blog.sina.com.cn/s/blog_6ac4211e0100y2xc.html

图例标识在框图内

‘North’ 图例标识放在图顶端 ‘South’ 图例标识放在图底端 ‘East’ 图例标识放在图右方 ‘West’ 图例标识放在图左方 ‘NorthEast’ 图例标识放在图右上方(默认) 'NorthWest 图例标识放在图左上方 ‘SouthEast’ 图例标识放在图右下角 ‘SouthWest’ 图例标识放在图左下角 ‘Best’ 图标标识放在图框内不与图冲突的最佳位置

图例标识在框图外

‘NorthOutside’ 图例标识放在图框外侧上方 ‘SouthOutside’ 图例标识放在图框外侧下方 ‘EastOutside’ 图例标识放在图框外侧右方 ‘WestOutside’ 图例标识放在图框外侧左方 ‘NorthEastOutside’ 图例标识放在图框外侧右上方 ‘NorthWestOutside’ 图例标识放在图框外侧左上方 ‘SouthEastOutside’ 图例标识放在图框外侧右下方 ‘SouthWestOutside’ 图例标识放在图框外侧左下方 ‘BestOutside’ 图标标识放在图框外使用最小空间的最佳位置

使用方法

Legend(‘字符串1’,‘字符串2’,‘字符串3’ ……,‘location’,‘位置’)

更多Legend的详细用法见下面这个链接:

https://blog.csdn.net/honglin_ren/article/details/37909879



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有