フィルターのクリア

How can I align the text in center of legend?

31 ビュー (過去 30 日間)
Riyadh Muttaleb
Riyadh Muttaleb 2018 年 9 月 27 日
コメント済み: Adam Danz 2018 年 9 月 27 日
Hi everybody,
I want to center the text vertically in the legend box
any help would be highly appreciated;
Riyadh
  2 件のコメント
Adam Danz
Adam Danz 2018 年 9 月 27 日
Riyadh Muttaleb
Riyadh Muttaleb 2018 年 9 月 27 日
columnlegend doesn't change the center of text in the legend box

サインインしてコメントする。

回答 (1 件)

Adam Danz
Adam Danz 2018 年 9 月 27 日
編集済み: Adam Danz 2018 年 9 月 27 日
As is suggested in your previous question, read the documentation for the legend function.
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 件のコメント
Riyadh Muttaleb
Riyadh Muttaleb 2018 年 9 月 27 日
I mean the text be vertically in the center, I used different numbers for NumColumns (1-100) but they didn't change anything in legend text,
Adam Danz
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 ExchangeLegend についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by