asdr_value_plus12 = asdr_value(11.5*3600+evt_times(1):12.5*3600+evt_times(1));
asdr_times_plus12 = asdr_times(11.5*3600+evt_times(1):12.5*3600+evt_times(1));
asdr_value_minus12 = asdr_value(-12.5*3600+evt_times(1):-11.5*3600+evt_times(1));
asdr_times_minus12 = asdr_times(-12.5*3600+evt_times(1):-11.5*3600+evt_times(1));
%figure;
subplot(3,2,1);
hold off;
h1 = bar(asdr_times_minus12,asdr_value_minus12);
set(h1,'EdgeColor','k');
xlim([min(asdr_times_minus12) max(asdr_times_minus12)]);
set(gca,'XTick',[],'FontSize',14)
title('12 hours before treatment')

subplot(3,2,3);
hold off;
h2 = bar(asdr_times_minus12,sort(asdr_value_minus12));
set(h2,'EdgeColor','k');
xlim([min(asdr_times_minus12) max(asdr_times_minus12)]);
set(gca,'XTick',[],'FontSize',14)

subplot(3,2,2);
hold off;
h3 = bar(asdr_times_plus12,asdr_value_plus12);
set(h3,'EdgeColor','k');
xlim([min(asdr_times_plus12) max(asdr_times_plus12)])
set(gca,'XTick',[],'FontSize',14)
title('12 hours after treatment')

subplot(3,2,4);
hold off;
h4 = bar(asdr_times_plus12,sort(asdr_value_plus12));
set(h4,'EdgeColor','k');
xlim([min(asdr_times_plus12) max(asdr_times_plus12)])
set(gca,'XTick',[],'FontSize',14)

subplot(3,2,5);
hold off;
h5 = bar(asdr_times_minus12,sort(asdr_value_minus12));
set(h5,'EdgeColor','k');
xlim([min(asdr_times_minus12) max(asdr_times_minus12)]);
ylim([0 5]);
set(gca,'XTick',[],'FontSize',14)
hold on;
plot(median(asdr_times_minus12),median(asdr_value_minus12),'*k','MarkerSize',5);
hold off;

subplot(3,2,6);
hold off;
h6 = bar(asdr_times_plus12,sort(asdr_value_plus12));
set(h6,'EdgeColor','k');
xlim([min(asdr_times_plus12) max(asdr_times_plus12)])
ylim([0 5]);
set(gca,'XTick',[],'FontSize',14)
hold on;
plot(median(asdr_times_plus12),median(asdr_value_plus12),'*k','MarkerSize',5);
hold off;