minis_FR_BR_IBIFR.CNQX = [...
    1.5247	0.470990504566292	0.377403846153846	0.8847;...
    1.7389	0.361689416383273	0.197560975609756	0.2387;...
    1.5526	0.622340425531915	0.442073170731707	2.3063;...
    1.5568	0.591587768791378	0.235               1.7595;...
    1.2508	0.69440488136471	0.697916666666667	0.7419;...
    1.27	0.394404125543632	0.12390350877193	0.7129;...
    1.1897  0.6779500         0.241474433900000   0.6709];

minis_FR_BR_IBIFR.TTX = [...
    1.0682	0.0011	0	0.0035;...
    1.4357	0.0084	0	0.0102;...
    1.8333	0.0053	0	0.05;...
    1.6564	0.0269	0	0.03;...
    1.1537	0.0025	0	0.0134;...
    1.7368	0.0016	0	0.0023];

%%
figure(1);
hold off;
plot(minis_FR_BR_IBIFR.TTX(:,2),minis_FR_BR_IBIFR.TTX(:,1),'.m');
hold on;
plot(minis_FR_BR_IBIFR.CNQX(:,2),minis_FR_BR_IBIFR.CNQX(:,1),'.r');
axis ([0 1 1 2]);


%%
figure(2);
hold off;
plot(minis_FR_BR_IBIFR.TTX(:,3),minis_FR_BR_IBIFR.TTX(:,1),'.m');
hold on;
plot(minis_FR_BR_IBIFR.CNQX(:,3),minis_FR_BR_IBIFR.CNQX(:,1),'.r');
axis ([0 1 1 2]);

%%
figure(3);
hold off;
plot(minis_FR_BR_IBIFR.TTX(:,4),minis_FR_BR_IBIFR.TTX(:,1),'.m');
hold on;
plot(minis_FR_BR_IBIFR.CNQX(:,4),minis_FR_BR_IBIFR.CNQX(:,1),'.r');
axis ([0 2.5 1 2]);

%%
FR_linearfit.CNQX = regstats(minis_FR_BR_IBIFR.CNQX(:,1),minis_FR_BR_IBIFR.CNQX(:,2),'linear',{'rsquare','beta'});
FR_linearfit.TTX = regstats(minis_FR_BR_IBIFR.TTX(:,1),minis_FR_BR_IBIFR.TTX(:,2),'linear',{'rsquare','beta'});
FR_linearfit.both = regstats([minis_FR_BR_IBIFR.TTX(:,1);minis_FR_BR_IBIFR.CNQX(:,1)],...
    [minis_FR_BR_IBIFR.TTX(:,2);minis_FR_BR_IBIFR.CNQX(:,2)],'linear',{'rsquare','beta'});
BR_linearfit.CNQX = regstats(minis_FR_BR_IBIFR.CNQX(:,1),minis_FR_BR_IBIFR.CNQX(:,3),'linear',{'rsquare','beta'});
BR_linearfit.TTX = regstats(minis_FR_BR_IBIFR.TTX(:,1),minis_FR_BR_IBIFR.TTX(:,3),'linear',{'rsquare','beta'});
BR_linearfit.both = regstats([minis_FR_BR_IBIFR.TTX(:,1);minis_FR_BR_IBIFR.CNQX(:,1)],...
    [minis_FR_BR_IBIFR.TTX(:,3);minis_FR_BR_IBIFR.CNQX(:,3)],'linear',{'rsquare','beta'});
IBIFR_linearfit.CNQX = regstats(minis_FR_BR_IBIFR.CNQX(:,1),minis_FR_BR_IBIFR.CNQX(:,4),'linear',{'rsquare','beta'});
IBIFR_linearfit.TTX = regstats(minis_FR_BR_IBIFR.TTX(:,1),minis_FR_BR_IBIFR.TTX(:,4),'linear',{'rsquare','beta'});
IBIFR_linearfit.both = regstats([minis_FR_BR_IBIFR.TTX(:,1);minis_FR_BR_IBIFR.CNQX(:,1)],...
    [minis_FR_BR_IBIFR.TTX(:,4);minis_FR_BR_IBIFR.CNQX(:,4)],'linear',{'rsquare','beta'});
%%
z = [FR_linearfit.CNQX.beta(2),FR_linearfit.CNQX.beta(1),FR_linearfit.CNQX.rsquare;...
    BR_linearfit.CNQX.beta(2),BR_linearfit.CNQX.beta(1),BR_linearfit.CNQX.rsquare;...
    IBIFR_linearfit.CNQX.beta(2),IBIFR_linearfit.CNQX.beta(1),IBIFR_linearfit.CNQX.rsquare;...
    FR_linearfit.TTX.beta(2),FR_linearfit.TTX.beta(1),FR_linearfit.TTX.rsquare;...
    BR_linearfit.TTX.beta(2),BR_linearfit.TTX.beta(1),BR_linearfit.TTX.rsquare;...
    IBIFR_linearfit.TTX.beta(2),IBIFR_linearfit.TTX.beta(1),IBIFR_linearfit.TTX.rsquare;...
    FR_linearfit.both.beta(2),FR_linearfit.both.beta(1),FR_linearfit.both.rsquare;...
    BR_linearfit.both.beta(2),BR_linearfit.both.beta(1),BR_linearfit.both.rsquare;...
    IBIFR_linearfit.both.beta(2),IBIFR_linearfit.both.beta(1),IBIFR_linearfit.both.rsquare];