MATLAB: How to plot a graph without any marking in axes

MATLAB

whenever im ploting a graph the goddam marking is shown on the axes?how to omit that?

Best Answer

By markings, do you mean the Ticks on the Xaxis and Yaxis..
you can remove them by:
figure1 = figure;
axes1 = axes('Parent',figure1,'YTick',zeros(1,0),'XTick',zeros(1,0));
box(axes1,'on');
hold(axes1,'all');
plot(whatever you want to plot)