开发者

Matlab: Don't show x-axis-labels in one of the subplots

I want to do the same like this here: matplotlib-share-x-axis-but-dont-show-x-axis-tick-labels-for-bo开发者_Go百科th-just-one

set(plot,'visible','off') 

doesn't show any axis.


The answer is:

set(gca,'xtick',[1 2 3 4 5], 'xticklabel',{})
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜