why in xticklabel not all x-axis label appear?

5 ビュー (過去 30 日間)
Mohammad Al Nagdawi
Mohammad Al Nagdawi 2017 年 12 月 16 日
回答済み: Mohammad Al Nagdawi 2017 年 12 月 17 日
figure;
bar(sum(SM_MI)/length(SM_MI),'FaceColor', [0 0 0.6]);
hold on
bar(2,sum(SM_JD)/length(SM_JD),'FaceColor', [0 .6 .6]);
bar(3,sum(SM_JD_seg)/length(SM_MI),'y');
set(gca,'xticklabel',{'MI','J-div','j-div seg'});
barvalues(gca,'%.2f');
ylabel('Success rate')

採用された回答

Mohammad Al Nagdawi
Mohammad Al Nagdawi 2017 年 12 月 17 日
I find the answer:
set(gca,'XTick',[1,2,3],'xticklabel',{'MI','J-div','j-div seg'});
with help of Star Strider

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by