MATLAB: Removing Xaxis and Yaxis values

axisgraphvalues

Hey I have plotted a graph but I want to remove the values on the axis, I don't want the numbers to show

Best Answer

% code
x = rand(1,100);
plot(x);
set(gca,'XTick',[], 'YTick', [])