boxchart error (inputs don't match axis configuration) - error in the popcorn example
Ältere Kommentare anzeigen
Hi all, I tried to execute the example described here: https://it.mathworks.com/help/stats/anova.boxchart.html
>> openExample('stats/BoxPlotsForTwoWayAnovaObjectExample')
I'm using Matlab r2023a. I'm getting this error and since it is part of the official documentation I do not have any idea on how to correct it.
The error:
Error using boxchart
Data inputs must match the axis configuration. A numeric axis must have numeric data inputs or data inputs which can be converted
to double.
Error in anova/boxchart (line 1057)
boxHandle = boxchart(factor1, obj.Y, chartArgs{:}, nvArgs{:});
Antworten (1)
Francesco Buonamici
am 23 Aug. 2023
1 Stimme
1 Kommentar
Wendy Ochs
am 9 Feb. 2024
Thanks! I was making the same mistake!
Kategorien
Mehr zu Analysis of Variance and Covariance finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!