function plotPandBP(fullFileName, fileNum, profileStruct, tableData)
       fig = figure('Name',fullFileName,'NumberTitle','off');
%         fig.Units = 'normalized';
%         fig.Position = [figX figY 0.6 0.6];
%         figX = figX + figXIncr;
%         figY = figY + figYIncr;
%         
%         hAx = subplot(3,1,1);
        yyaxis left
        plot(profileStruct(fileNum).bellowsPositionDT, profileStruct(fileNum).bellowsPosition);
        ylabel('Bellows Position (%IB Full)');
        yyaxis right
        plot(profileStruct(fileNum).pressureDT, profileStruct(fileNum).pressure);
        ylabel('Pressure (dBar)');
        hold on;
        
        plotStateTransitions(tableData, profileStruct(fileNum).DT);
        
%         if length(glideOnMsgIndexes) > 0
%             plot(glideOntime, glideOnDepth, 'gO')
%             text(glideOntime, glideOnDepth, 'glide on');
%         end
%         glideOnMsgIndexes = [];
%         if length(glideOffMsgIndexes) > 0
%             plot(glideOfftime, glideOffDepth, 'rX')
%             text(glideOfftime, glideOffDepth, 'glide off');
%         end
%         glideOffMsgIndexes = [];
        hold off;
end