how to plot a graph without any marking in axes?

3 views (last 30 days)
whenever im ploting a graph the goddam marking is shown on the axes?how to omit that?

Accepted Answer

Thomas
Thomas on 12 Mar 2012
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)

More Answers (0)

Categories

Find more on Graphics in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!