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 CenterFile Exchange에서 Legend에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by