How to correct code?

8 次查看(过去 30 天)
Rahat Ali Khan Langah
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