From 11f8077e6870a961e3106e371f149f838af397f2 Mon Sep 17 00:00:00 2001 From: Christopher Hummersone Date: Fri, 18 Aug 2017 14:25:54 +0100 Subject: [PATCH] Fixed issue with groupLabelFontSize. --- +iosr/+statistics/boxPlot.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/+iosr/+statistics/boxPlot.m b/+iosr/+statistics/boxPlot.m index 3f84f39..45df10e 100644 --- a/+iosr/+statistics/boxPlot.m +++ b/+iosr/+statistics/boxPlot.m @@ -1785,11 +1785,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