How to correct code?

7 ビュー (過去 30 日間)
Rahat Ali Khan Langah
Rahat Ali Khan Langah 2021 年 1 月 17 日
コメント済み: Image Analyst 2021 年 1 月 17 日
When I execute my code, I get
"Error using legend (line 278)
Invalid argument. Type 'help legend' for more information."
my line 278 is: make_legend(ha,args(arg:end),version, limitMaxLegendEntries);
Please help
  1 件のコメント
Image Analyst
Image Analyst 2021 年 1 月 17 日
You forgot to give the entire error message. For example, what is the line of code there your make_legend() function actually calls the build-in legend function. I suggest you closely look at the type of variables you are passing to legend(). One or more of them aren't correct. We don't know which because you didn't show us how you called legend().

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

回答 (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