MATLAB: How to plot the Xticklabel on the top of the axes

plottablexticklabel

hello, im using plottable(x) and i want to move the Xticklabel from the bottom of the axes to the top. any ides?

Best Answer

set(gca,'xaxisLocation','top')
To investigate the openly available options for axes and figures and whatnot, simply do:
set(gca)
...for current axes that was.
HTH