Problem with the Spider function

Hello,
I am a new user and I have some trouble with a function.
I have downloaded the Spider function, but I can't use it.
I have searched on the different topics but I didn't found the answer.
I have an example code to plot this function :
D1 = [5 3 9 1 2];
D2 = [5 8 7 2 9];
D3 = [8 2 1 4 6];
P = [D1; D2; D3];
figure(2)
Spider_plot(P);
legend('D1', 'D2', 'D3', 'Location', 'southoutside');
But it doesn't plot anything and the result is :
The closest match is: spider_plot in H:\LAURA\DOC\MATLAB\spider_plot.m
Error in spider_plot (line 7)
Spider_plot(P);
I think I unzip the file at the wrong place, but I don't know where I need to unzip this.
Thanks for your answer.

回答(1 个)

Steven Lord
Steven Lord 2020-5-19

0 个投票

Case matters. The command "Spider_plot" (upper-case S) is different from the command "spider_plot" (lower-case s.) You have a function named spider_plot (the error message shows it's in your H drive) but not one named Spider_plot.

类别

帮助中心File Exchange 中查找有关 Graphics Performance 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by