Problem with the Spider function
조회 수: 4 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
Steven Lord
2020년 5월 19일
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Entering Commands에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!