function print_exploration_mean(t,relative1,relative2,banda,acq)
%ch_names ={'F left';'F right';'C left';'C right'; 'P left'; 'P right'};
lgd = {'Familiar';'Novel'};
if acq==1
    lgd = {'Familiar';'Familiar'};
end

colors=[200 54 54; 54 111 200]/256;
f=figure;
f.Position = [10 6 1129 956];

[n_epochs1, n_muestras, n_channels] = size(relative1);
[n_epochs2, n_muestras, n_channels] = size(relative2);



for i=1:6    
        ax(i) = subplot(3,2,i);
        media1 = mean(relative1(:,:,i,banda),1);
        media2 = mean(relative2(:,:,i,banda),1);
        plot(t,media1,'Color',colors(1,:),'Linewidth',2);
        hold on
        plot(t,media2,'Color',colors(2,:),'Linewidth',2);
        axis([-500 3000, -70,-0])
        %xlim([-500 3000])
        grid on
        if i==1
            legend(lgd,'Location','northwest')
        end
        
        p = get(gca, 'Position');
        h = axes('Parent', gcf, 'Position', [p(1)+1.07*p(3) p(2)+p(4)*.55 0.15*p(3) 0.3*p(3)]);
        box on
        boxplot(h,[media1',media2'],'boxstyle','filled','labels',{'Familiar','Novel'},'colors',colors)
        xticks([])
        hold off
        
end

% for i = 1:2
%         %subplot(3,2,i)
%         title (ax(i),ch_names{i});
%         grid on;
% end

subplot(3,2,1)
title (ax(1),'Left')

subplot(3,2,2)
title (ax(2),'Right')

canal={'Frontal';'Central';'Parietal'};

j=1;
for i = 1:2:6
    %subplot(3,2,i)
    
    text(ax(i),3500,10,canal{j},'HorizontalAlignment','Center', 'FontSize',14,'FontWeight','bold')
    j = j+1;
    
    if banda==1
        ylabel(ax(i),'\alpha relative power (a.u.)')
    else 
        ylabel(ax(i),'\beta relative power (a.u.)')
    end
end

for i = 5:6
    %subplot(3,2,i)
    xlabel(ax(i),'time (ms)')
end
    
