clearvars -except cmaps
close all
clear global

global indvar_name_set indvar_name_all indvar_ename_set indvar_ename_all ...
   indvar_units_set indvar_units_all 

condcoll_dev = devfun(load('../pfm_summary/Dt80_condcoll_pfm.mat').pfm);
condcollsed_dev = devfun(load('../pfm_summary/Dt80_condcollsed_pfm.mat').pfm);
fullmic_dev = devfun(load('../pfm_summary/Dt80_fullmic_pfm.mat').pfm);

global_var
get_var_comp([3:7 10])

figure('position', [0 0 800 300])
tl = tiledlayout('flow', 'TileSpacing', 'compact');

% ccs - cc
nexttile
devdiff2fig(condcoll_dev, condcollsed_dev)
title('(a) Case b-c (effect of Sed.)','fontweight','normal')

% fullmic - ccs
nexttile
devdiff2fig(condcollsed_dev, fullmic_dev)
title('(b) Case a-b (effect of Evap.)','fontweight','normal')
ylabel('Change in standard dev.')
ylabel(tl, 'Change in AMP-bin % diff. (pp)')

title(tl, 'Interaction effect on AMP-bin difference', 'fontweight', 'bold', 'fontsize', 18)

% exportgraphics(gcf,'plots/17 proc_intxn.png','Resolution',300)
exportgraphics(gcf,'plots/17 proc_intxn.pdf')
