Where the errors in my code
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
abduall hassn
am 30 Apr. 2016
Bearbeitet: abduall hassn
am 3 Nov. 2016
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 Kommentare
Akzeptierte Antwort
Star Strider
am 30 Apr. 2016
Add this line after your plot call:
set(gca, 'XTick',1:5, 'XTickLabel',{'wes', 'hts', 'ar', 'hy', 'nn'})
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Specialized Power Systems finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!