Filter löschen
Filter löschen

Problem with the Spider function

4 Ansichten (letzte 30 Tage)
Laura Beal
Laura Beal am 19 Mai 2020
Kommentiert: Laura Beal am 20 Mai 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.

Antworten (1)

Steven Lord
Steven Lord am 19 Mai 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.
  1 Kommentar
Laura Beal
Laura Beal am 20 Mai 2020
Oh well... thanks a lot for your answer ^^

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by