Why doesn't the standard deviation show on boxplot?
Show older comments
Hi, I'm having an issue with my code. As you can see, the total and catagory 1 is plotted appropriately. The catagory 2 plot has a red x and no upper standard deviation plotted and I can't figure out why. Thank you!
close all
clear
T = readtable("BFR_ToPlot.xlsx");
A = T.Active(1:5);
B = T.OsteoisOcy(1:5);
C = T.Alone(1:5);
group =[ones(size(A));2*ones(size(B));3*ones(size(C))];
figure
hold on
boxplot([A;B;C],group,'color','k')
scatter(group, [A;B;C],'k')
somenames={'Total'; '1'; '2' };

Accepted Answer
More Answers (0)
Categories
Find more on Exploration and Visualization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!