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.

Was it helpful?

Solution

The answer is:

set(gca,'xtick',[1 2 3 4 5], 'xticklabel',{})
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top