Matlab中legend位置
生活随笔
收集整理的這篇文章主要介紹了
Matlab中legend位置
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
legend('sin(x)','cos(x)','Location','North');
Matlab位置選擇
| 'North' | inside plot box near top |
| 'South' | inside bottom |
| 'East' | inside right |
| 'West' | inside left |
| 'NorthEast' | inside top right (default for 2-D plots) |
| 'NorthWest' | inside top left |
| 'SouthEast' | inside bottom right |
| 'SouthWest' | inside bottom left |
| 'NorthOutside' | outside plot box near top |
| 'SouthOutside' | outside bottom |
| 'EastOutside' | outside right |
| 'WestOutside' | outside left |
| 'NorthEastOutside' | outside top right (default for 3-D plots) |
| 'NorthWestOutside' | outside top left |
| 'SouthEastOutside' | outside bottom right |
| 'SouthWestOutside' | outside bottom left |
| 'Best' | least conflict with data in plot |
| 'BestOutside' | least unused space outside plot |
?
?https://www.cnblogs.com/xym4869/p/12243271.html
總結
以上是生活随笔為你收集整理的Matlab中legend位置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: matlab 二维线图绘制函数 plot
- 下一篇: 如何用matlab求方程的整数解