Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Annotations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
