You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into a similar problem that was reported in issue #86.
Error using horzcat
Dimensions of arrays being concatenated are not consistent.
Error in gramm/stat_boxplot>my_boxplot (line 81)
outliersy=[outliersy ysel(sel_outlier)'];
Error in gramm/stat_boxplot>@(dobj,dd)my_boxplot(dobj,dd,p.Results) (line 24)
obj.geom=vertcat(obj.geom,{@(dobj,dd)my_boxplot(dobj,dd,p.Results)});
Error in gramm/draw (line 548)
obj.geom{geom_ind}(obj,draw_data);
I could resolve this issue by changing line 81 in stat_boxplot.m to outliersy=[outliersy ysel(sel_outlier)];
It seems that this problem does not arise if there are outliers in only one condition of the data, so I was able to successfully plot data with a different y variable. But as soon as there are outliers in both conditions, the error occurs.
My data has this format:
Yvar fac1 fac2
val1 a c
val2 a d
val3 b c
val4 b d
I am not sure whether removing the apostrophe might cause different errors down the line, however.
I hope this helps somehow!
The text was updated successfully, but these errors were encountered:
Hi, and thanks for your feedback. I tried reproducing the issue but again was not able to, even with your description of outliers being present in only one or both conditions. The proposed solution seems to create problems more systematically on my side, as was the one proposed in #86.
It would be great if you could provide a minimally working example that causes the crash (with data provided as a mat file and your gramm code) so that I can look at it ? If you don't want to post it in the issue, you can send it to me by email at [email protected]
I ran into a similar problem that was reported in issue #86.
I could resolve this issue by changing line 81 in stat_boxplot.m to
outliersy=[outliersy ysel(sel_outlier)];
It seems that this problem does not arise if there are outliers in only one condition of the data, so I was able to successfully plot data with a different y variable. But as soon as there are outliers in both conditions, the error occurs.
My data has this format:
I am not sure whether removing the apostrophe might cause different errors down the line, however.
I hope this helps somehow!
The text was updated successfully, but these errors were encountered: