diff --git a/+iosr/+statistics/boxPlot.m b/+iosr/+statistics/boxPlot.m index 0754b37..2a9de94 100644 --- a/+iosr/+statistics/boxPlot.m +++ b/+iosr/+statistics/boxPlot.m @@ -1786,11 +1786,12 @@ function drawGlobalGraphics(obj) set(obj.handles.means,'markersize',obj.meanSize); end - % sample size - if obj.sampleSize && isfield(obj.handles,'groupsTxt') + % set group label font size + if isfield(obj.handles,'groupsTxt') set(obj.handles.groupsTxt,'FontSize',obj.groupLabelFontSize); end + % set additional percentile font size if ~isempty(obj.addPrctiles) && isfield(obj.handles,'addPrctilesTxt') set(obj.handles.addPrctilesTxt,'FontSize',obj.addPrctilesTxtSize); end