%**************************************************************************
%This function initializes the plot file.  It writes a title page.
%
%Input:
%plt_file, plot file for results
%analysis_name, name of the analysis
%
%Zachary Wolf, 4/14/09

function [] = ref_dipole_plot_init(plt_file, analysis_name)

%Make a title page for the plots
axes('position', [0, 0, 1, 1], 'visible', 'off');

y_pos = .85;
text(.1, y_pos, 'SLAC Magnetic Measurements', 'FontSize', 12);
y_pos = y_pos - .03;
text(.1, y_pos, 'Reference Dipole Measurements', 'FontSize', 12);
y_pos = y_pos - .06;
text(.1, y_pos, 'Title: ', 'FontSize', 12);
y_pos = y_pos - .03;
text(.1, y_pos, analysis_name, 'FontSize', 12);

%Plot the title page
util_print_fig_init(plt_file);

%Done
