function b = loadobj(a)
%LOADOBJ Loads a PrintTemplate object and converts it into
%    s printtemplate struct.

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

% create the printtemplate struct
b=printtemplate;

% fill in relevant fields from the object
b.AxesFreezeTicks = a.AxesFreezeTicks;
b.AxesFreezeLimits = a.AxesFreezeLimits;
b.PrintUI = a.PrintUI;
b.Renderer = a.Renderer;
b.DriverColor = a.DriverColor;
b.FrameName = a.FrameName;
