%**************************************************************************
%This function writes the current figure to the plot file.
%
%Input:
%plt_file, plot file for results
%
%Zachary Wolf
%2/4/15

function [] = util_print_fig_init(plt_file)

%Print the current figure
orient landscape;
if strfind(plt_file, '.ps') > 0
    print('-dpsc', '-r300', plt_file);
elseif strfind(plt_file, '.pdf') > 0
    print('-dpdf', '-r300', plt_file);
else
    error('Unknown plot file type');
end

%Done