how write legend plot right side)

1 回表示 (過去 30 日間)
pipor
pipor 2023 年 9 月 7 日
コメント済み: Star Strider 2023 年 9 月 7 日

採用された回答

Star Strider
Star Strider 2023 年 9 月 7 日
Try this —
x = linspace(0, 10);
y = randn(size(x,2), 5);
figure
plot(x, y)
legend(compose('Vector %2d',1:5), 'Location','NE')
.
  7 件のコメント
pipor
pipor 2023 年 9 月 7 日
good!
Star Strider
Star Strider 2023 年 9 月 7 日
Thank you!

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

その他の回答 (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