function resetAxes( hMainFig, hPlotAxes ) % Get the data from the application GUI % ------------------------------------- tsg = getappdata( hMainFig, 'tsg_data'); % Initialise axis limits % ---------------------- for i = 1 : length( hPlotAxes ) set( hPlotAxes(i),... 'Visible', 'off', 'box', 'on', 'XLimMode', 'auto', 'YLimMode', 'auto'); end