solved
i used the following code:
and i get this figure
plot(datetime(BBcountry(2:end,1)),cc,'DisplayName','alg','Color', 'blue','LineWidth',1),grid on,grid minor;
xlim([datenum(BBcountry(2,1)) datenum(BBcountry(end,1))])
DateString = (BBcountry(2:end,1));
datenum(DateString);
set(gca, 'XTick', datenum(DateString))
datetick('x','dd-mmm','keepticks');
ax = gca;
ax.XTickLabelRotation = 90;
Best Answer