フィルターのクリア

Legend in a for loop.

3 ビュー (過去 30 日間)
subea t
subea t 2016 年 2 月 16 日
回答済み: Stalin Samuel 2016 年 2 月 16 日
I have a matrix of 276 by 30. I use a for loop to plot 7 rows in one graph with 22 graphs in total. I am trying to add 7 legends to each graph. I converted a matrix of 276 by 1 into a string array using cellstr and numstr. However, when I tried to put the string array into the for loop, it only add one legend to my graph. I used legend(stringarray(n,:)).

回答 (1 件)

Stalin Samuel
Stalin Samuel 2016 年 2 月 16 日

カテゴリ

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