Matlab: Don't show x-axis-labels in one of the subplots
14,091
The answer is:
set(gca,'xtick',[1 2 3 4 5], 'xticklabel',{})
Author by
kame
I live in the area between Basel and Zürich. Nice to meet you. :)
Updated on June 04, 2022Comments
-
kame almost 2 years
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.