function boxplot_features(feature,indexes,labels)

if nargin<4
save_to_file=0;    
else
    save_to_file=1;
end;

global toolbox_root;

% 
% if save_to_file==1;
%     figure('units','normalized','outerposition',[0 0 1 1],'Name', varargin{1});
% else
%     figure('units','normalized','outerposition',[0 0 1 1]);
% end;

ind=indexes;

% Boxplot pro dyslektiky a kontrolni v jednom grafu
dys = feature(ind{1})';% dyslektici
con = feature(ind{2})';% kontrolni
group = [repmat(1,[size(dys,1), 1]); repmat(2,[size(con,1), 1])];
dys_text=sprintf('dyslektici, %d zaznamu',length(ind{1}));
kon_text=sprintf('kontrolní skupina, %d zaznamu',length(ind{2}));
boxplot([dys;con], group,'labels',{dys_text, kon_text});
title(labels);
ylabel('Hodnota priznaku(-)');

    if save_to_file==1;
    filename_to_save='feature';        
    saveas(gcf,sprintf('%s/output/figs/%s_%s_%s',toolbox_root,filename_to_save,varargin{1},num2str(round(skore))));
    saveas(gcf,sprintf('%s/output/figs/%s_%s_%s',toolbox_root,filename_to_save,varargin{1},num2str(round(skore))),'png');
    end;

end
