Problem with the Spider function

3 views (last 30 days)
Laura Beal
Laura Beal on 19 May 2020
Commented: Laura Beal on 20 May 2020
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.

Answers (1)

Steven Lord
Steven Lord on 19 May 2020
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.

Categories

Find more on Entering Commands in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!