How to turn off X axis while keeping the X axis grid lines?
21 views (last 30 days)
The x axis is turning off while using 'XTick', [ ] and gridlines are also removing(vertical lines). But I need to keep the grid lines and remove xaxis from the figure.
set(gca,'XTick',,'fontweight' , 'bold','fontsize',12); xlim([0 122]); grid on ;