Where the errors in my code
조회 수: 2 (최근 30일)
이전 댓글 표시
From figure I want to labe X-Axis wes hts ar hy nn
This is code i used
figure;
plot( c, '-r','LineWidth', 3);
hold on
plot( fcm, '-b','LineWidth', 3);
hold on
plot( rkm, '-m','LineWidth', 3);
legend('Conventional models ',...
['Enhanced model by FCM'],...
['Enhanced model by RKM'],...
'Location', 'northeast');
title('Performance improvement with respect to MSE');
I want to put name of method (wes, hts, ar, hy, nn ) on label X-Axis, Instead of the values that displayed on X-Axis
Thank u
댓글 수: 0
채택된 답변
Star Strider
2016년 4월 30일
Add this line after your plot call:
set(gca, 'XTick',1:5, 'XTickLabel',{'wes', 'hts', 'ar', 'hy', 'nn'})
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Filter Design에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!