Boxplot - how to set x-axis position
이전 댓글 표시
Hi there.
Briefly, i have a set of 10 arrays (numeric values) of different sizes i want to plot in a boxplot.
I created a vector containing the whole data and grouped it using numeric values, specified by a grouping variable g (using the repmat routine i've found in the community).
I would the values in g to be the x-axis position of the boxes; now, the x labels show the right values but the matlab function boxplot just places the boxes in evenly spaced locations, regardless of the specific x-value.
the x values are: [48; 52; 53; 64; 68; 84; 86; 89; 90; 91] and i want the range [30 100] for the x-axis.
Is there a way to manually set the location of the boxes? I have access to an old version of Matlab (7.0 R14) that does not support the 'positions' parameter as input argument.
Thank you in advance.
Antonio Mancini
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Box Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!