https://jp.mathworks.com/help/matlab/ref/matlab.graphics.interaction.interactions.rulerpaninteraction.html
RulerPanInteraction - Ruler-pan interaction - MATLAB
A ruler-pan interaction allows you to pan an axis without having to select any buttons in the axes toolbar.
rulerpaninteractionmatlab