%**************************************************************************
%This function plots the second integral of Bx.
%
%Input:
%plt_file, plot file for results
%z, z position the field was measured at (m)
%int_int_bx_dz_dz, second integral of Bx (Tm)
%
%Zachary Wolf
%5/9/16

function [] = field_plot_i2x(plt_file, z, int_int_bx_dz_dz)

%Initialize
figure;
hold on;

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

%Labels
title('\int \int Bx dz dz vs Z');
xlabel('Z (m)');
ylabel('\int \int Bx dz dz (Tm**2)');

%Finalize
grid on;
zoom on;
hold off;

%Print
util_print_fig(plt_file);

%Done
