From b86029f920b2acfcb586d03fe30ac90b38f9c8f1 Mon Sep 17 00:00:00 2001 From: Shivansh Dave Date: Mon, 22 Jan 2024 15:59:21 -0500 Subject: [PATCH] minor fix - boxplot color Fixing the error in line#406 & #410 (BoxLineColor >> BoxEdgeColor) -- https://www.mathworks.com/help/matlab/ref/matlab.graphics.chart.primitive.boxchart-properties.html --- grpandplot.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grpandplot.m b/grpandplot.m index a24abda..b9d41f2 100644 --- a/grpandplot.m +++ b/grpandplot.m @@ -403,11 +403,11 @@ boxObj(i,j).MarkerColor = 'r'; boxObj(i,j).BoxWidth = w; boxObj(i,j).BoxFaceAlpha = boxAlpha; - boxObj(i,j).BoxLineColor = cmap(j,:); + boxObj(i,j).BoxEdgeColor = cmap(j,:); boxObj(i,j).WhiskerLineColor = cmap(j,:); if ~isempty(boxFillC), boxObj(i,j).BoxFaceColor = boxFillC; end if ~isempty(boxEdgeC) - boxObj(i,j).BoxLineColor = boxEdgeC; + boxObj(i,j).BoxEdgeColor = boxEdgeC; boxObj(i,j).WhiskerLineColor = boxEdgeC; end end