MATLAB如何修改x轴为需要的字符串

x = {'m=3','m=4','m=5','m=6','color'};

figure
bar(1:5,throughput);
set(gca,'xticklabel',x);

你可能感兴趣的:(matlab)