How can I align the text in center of legend?
25 次查看(过去 30 天)
显示 更早的评论
Hi everybody,
I want to center the text vertically in the legend box
any help would be highly appreciated;
Riyadh
2 个评论
回答(1 个)
Adam Danz
2018-9-27
编辑:Adam Danz
2018-9-27
You are currently setting the Orientation property to Horizontal. Try setting it to Vertical. Another solution is to change the NumColumns parameter. If that's not what you're looking for, please specify what you mean by aligning the text in the center.
2 个评论
Adam Danz
2018-9-27
Again, I think you are currently setting the Orientation property as Horizontal when you want it to be Vertical.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!