MATLAB: Deletting X and Y axes ticks deletplotticks How could axes ticks and numbers be deleted when plotting or imaging? Best Answer set(gca,'xtick',[]) set(gca,'ytick',[]) Related SolutionsMATLAB: How to remove the tic labels but not the marks what you could do is use the set command for the axis. likeset(gca,'YTick',[]); %which will get rid of all the markings for the y axisorset(gca,'Yticklabel',[]) set(gca,'Xticklabel',[]) %to just get rid of the numbers but leave the ticks. MATLAB: Removing ticks Hi Hans,now I get it. In this special case you have to deactivate the xticklabels, too. This should works fine:A(1,1:21)= 100000:100020;B(1:100,1)= 1:100;C(1:100,1:21)=33;figure;pcolor(A,B,C)set(gca,'xtick',[])set(gca,'xticklabel',[])Best regards,Friedrich Related QuestionSpectrogram x axis logarithmicWrap and center justify axes and tick labelHow to not display abscissa ticks using command while keeping the ticks of y-axisProblems with the limits of axesDynamic y-tick labelIs there a way to remove individual tick labels
Best Answer