%% Ploy bar graph of Average
clc
data_raw = [2,4,6];
data_avg = [1,2,3];
y = [data_raw, data_avg];

figure;
hold on

            bar(data_avg, 'r', data_raw, 'b')
           
            Labels = {'x-axis', 'y-axis', 'z-axis'};
            %set(gca, 'XTick', 1:3, 'XTickLabel', Labels);
            set(gca, 'XTickLabel', Labels);
            title('Average Noise Value');
            %xlabel('Axes XYZ')
            ylabel('Acceleration (mm/sec^2)')
            %text(num2str(data_avg,'%0.2f'),'HorizontalAlignment','center', 'VerticalAlignment','bottom')
            hold off