reorder on a plot
显示 更早的评论
vComplDire contains randomly on each cell one of these 4 directions:
DownRight; DownLeft; UpRight; UpLeft. (these are simply strings).
vComplDire is loaded by this for loop:
for i = 1:numel(vInterv)
if vbHori(i)
vComplDire{i} = 'Up';
else
vComplDire{i} = 'Down';
end
if vbVert(i)
vComplDire{i} = [vComplDire{i} 'Right'];
else
vComplDire{i} = [vComplDire{i} 'Left'];
end
end
boxplot(vInterv, vComplDire);
Boxplotting I get the graphic that I show on the attached pic.
I want to reorder the boxes on the graph like this:
1st DownLeft; 2nd DownRight; 3rd UpLeft; 4th UpRight.
I tried with "reorderlevels", "getlevels", etc... but no success.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Particle & Nuclear Physics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
