TWAnalyser - A T-wave Alternans Detector 1.0.0

File: <base>/twa-mfiles/RestoreAxisLimits.m (588 bytes)
function RestoreAxisLimits
% RestoreAxisLimits.m
% Author: Alexander Khaustov; alexander dot khaustov at gmail dot com 
% Copyright (C) 2008 St.-Petersburg Institute of Cardiological Technics (Incart), www.incart.ru
% This software is released under the terms of the GNU General
% Public License (http://www.gnu.org/copyleft/gpl.html).
% 
% Restores previously saved axis limits for the current axes

    global currlimX currlimY
    % Restore axis limits
    if (~isempty(currlimX))
        set(gca, 'XLim', currlimX);
        set(gca, 'YLim', currlimY);
    end;

return;