2
我想要做同样的,问题是一个显示x轴的标签: matplotlib-share-x-axis-but-dont-show-x-axis-tick-labels-for-both-just-oneMatlab的:不要在次要情节
set(plot,'visible','off')
不显示任何轴。
我想要做同样的,问题是一个显示x轴的标签: matplotlib-share-x-axis-but-dont-show-x-axis-tick-labels-for-both-just-oneMatlab的:不要在次要情节
set(plot,'visible','off')
不显示任何轴。
答案是:
set(gca,'xtick',[1 2 3 4 5], 'xticklabel',{})