How can I align the text in center of legend?
조회 수: 28 (최근 30일)
이전 댓글 표시
Hi everybody,
I want to center the text vertically in the legend box
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196705/image.jpeg)
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!