I want to remove the numbers below x-axis.I tried "set(gca,'XTickLabel',[])" but it does not work in this case
remove x-value for a group bar plot
1 次查看(过去 30 天)
显示 更早的评论
I try to plot a group bar with some names as its x value. I know that I can change the x values with "set(gca, 'XTick',1:4, 'XTickLabel',{'LMAT' 'OPT-EC' 'SCAN' 'Zcurve'})" . but my problem is that when i use this command these lables will be written on the random values that exists. I try to remove the random values with "set(gca,'XTick',[])" but it does not work in this case. any idea?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete Data Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!