Multi column legend in matlab plot
显示 更早的评论
How can i set multicolumn and row legen in matlab R2016a,.
I could not find simple way to do it.
1 个评论
If you use MATLAB R2018a or later, you can use the NumColumns property of legend to specify the number of columns.
plot(rand(12))
legend('NumColumns',3,'Location','southOutside')
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
