Documentation of ptrestorehg


Global Index (short | long) | Local contents | Local Index (short | long)


Function Synopsis

restorehg( pt, h )

Help text

FORMAT Method that restores a Figure after formating it for output.
   Input of PrintTemplate object and a Figure to modify.
   Figure has numerous properites restore to previous values modified
   to account for template settings.

Cross-Reference Information

This function is called by

Listing of function ptrestorehg

function restorehg( pt, h )

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.2 $  $Date: 2000/06/01 02:54:04 $

if pt.DebugMode
    disp(['Restoring Figure ' num2str(h)])
    pt
end

% Output Axes with same tick MARKS as on screen
if pt.AxesFreezeTicks
    set( pt.tickState.handles, {'XTickMode','YTickMode','ZTickMode'}, pt.tickState.values )
    pt.tickState = {};
end

% Output Axes with same tick LIMITS as on screen
if pt.AxesFreezeLimits
    set( pt.limState.handles, {'XLimMode','YLimMode','ZLimMode'}, pt.limState.values )
    pt.limState = {};
end