plotPandBP('test', 1);


function plotPandBP(figTitle, fileNum, profileTable)
       fig = figure('Name',figTitle,'NumberTitle','off');
%         fig.Units = 'normalized';
%         fig.Position = [figX figY 0.6 0.6];
%         figX = figX + figXIncr;
%         figY = figY + figYIncr;
%         
%         hAx = subplot(3,1,1);
profileTable(fileNum).bellowsPosition

        yyaxis left
        plot(profileTable(fileNum).bellowsPositionDT, profileTable(fileNum).bellowsPosition);
        ylabel('Bellows Position (%IB Full)');
        yyaxis right
        plot(profileTable(fileNum).pressureDT, profileTable(fileNum).pressure);
        ylabel('Pressure (dBar)');
        hold on;
        
%        plotStateTransitions(tableData, 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