Matlab: Don't show x-axis-labels in one of the subplots
Question
I want to do the same like this here: matplotlib-share-x-axis-but-dont-show-x-axis-tick-labels-for-both-just-one
set(plot,'visible','off')
doesn't show any axis.
Solution
The answer is:
set(gca,'xtick',[1 2 3 4 5], 'xticklabel',{})
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow