フィルターのクリア

Multi column legend in matlab plot

183 ビュー (過去 30 日間)
Sudhir Rai
Sudhir Rai 2023 年 6 月 14 日
コメント済み: Sudhir Rai 2023 年 6 月 22 日
How can i set multicolumn and row legen in matlab R2016a,.
I could not find simple way to do it.
  1 件のコメント
Adam Danz
Adam Danz 2023 年 6 月 15 日
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')

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

採用された回答

dpb
dpb 2023 年 6 月 14 日
  7 件のコメント
dpb
dpb 2023 年 6 月 15 日
Things like this I put into a special directory created and added to the MATLABPATH so will always be available regardless of the current working directory for project files. I find that structure works best.
Sudhir Rai
Sudhir Rai 2023 年 6 月 22 日
ok thanks................
But how can I change legend features like make it bold or change size in gridlegend?

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

その他の回答 (0 件)

カテゴリ

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