XTickLabel for large number of bars
1 view (last 30 days)
I'm trying to label each of the bar on the X axis (say bar apple, orange, grape, etc.) using bar() and XTickLabel. The code works fine until 15 bars but after that, the x tick label doesn't work properly getting spread out and I need to plot much more than that. Currently I'm coding it as
bar([data1' data2' data3']);
Is there a way to use XTickLabel for large number of bars? Or some other method I can use?