HH=TICKLABELINSIDE(H,AX,CORNERFLAG) is the calling form.
HH contains handles to the text objects created.
H is the handle to the figure or axis of interest (default is GCF).
AX is 'x' 'y' or 'xy' (default) to indicate which axis labels should be moved in.
CORNERFLAG is 1 to print labels at the corners, 0 to skip them for clarity (default)
Had to change line 110 to:
to get function to work in R2015a. Otherwise worked well.
Also would be nice if it handled YDir = reverse, XDir = reverse.
Good for plots with default settings.
Improvement request: please add support for XAxisLocation = top, YAxisLocation = right.
Works OK, but only till you try to zoom.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.