Hidden digital x-axis
set(gca,'xticklabel',[])
Hidden x-axis scale
set(gca,'xtick',[])
It can also be combined to write
set(gca,'xtick',[],'xticklabel',[])
If y or z-axis operation, then just need to xtick and xticklabel in the x or y z can be replaced
like matlab a friend to me! ! ! Oh together to discuss issues