%**************************************************************************
%This function plots I1By for the data sets.
%
%Input:
%plt_file, plot file for results
%int_by_dz_end, Int Bx dz (Tm)
%input_name, legend for plot
%
%Zachary Wolf, 12/24/07

function [] = ps_comp_plot_i1by(plt_file, int_by_dz_end, input_name)

%Make the plot
figure;
hold all;
c = length(int_by_dz_end);
for ii = 1 : c
    x = ii;
    y = int_by_dz_end(ii);
    plot(x, y, '*', 'linewidth', .5);
end
title('Int By dz For The Data Sets');
xlabel('Data Set Number');
ylabel('Int By dz (Tm)');
legend(input_name', 'location', 'northwest');
xlim([0, c+1]);
grid on;
zoom on;
hold off;
util_print_fig(plt_file);

%Done
