matlab figure remove toolbar code example Example: remove axes toolbar matlab disableDefaultInteractivity(ax)