%**************************************************************************
%This function plots Bx vs Z.
%
%Input:
%plt_file, plot file for results
%z, z position the field was measured at (m)
%bx, measured field strength Bx (T)
%
%Zachary Wolf
%

function [] = corr_plot_bx(plt_file, z, bx)

%Initialize
figure;
hold on;

%Plot the field
plot(z, bx, 'linewidth', 0.5);

%Labels
title('Bx vs Z');
xlabel('Z (m)');
ylabel('Bx (T)');

%Finalize
grid on;
zoom on;
hold off;

%Print
util_print_fig(plt_file);

%Done
