linkaxes
linkaxes (ax) linkaxes (ax, option) Synchronise axes limits across AX. OPTION is any unique combination of the characters x/y/z (MATLAB R2026a default "xyz"), or "off" to remove an existing link. When a link is created every axes takes over the limits of the first one for the linked dimensions, and later changes to any member are copied to the others via linkprop.