Is it possible to force xtick to be visible everywhere?

Is it possible to force xtick layer goes on top of the plot, so the plot cannot cover xticks?

Answers (1)

To layer all axes components (ticks, gridlines) above plotted stuff, use
set(gca, 'Layer', 'Top')

Asked:

on 5 Oct 2015

Answered:

on 5 Oct 2015

Community Treasure Hunt

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

Start Hunting!