Skip to content
Snippets Groups Projects
resetAxes.m 365 B
Newer Older
Yves Gouriou's avatar
Yves Gouriou committed
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');