Need help with generating a box and whisker plot
조회 수: 11 (최근 30일)
이전 댓글 표시
I have 5 strings of data for 100 models, where each string represents the 5th, 25th, 50th, 75th, and the 95th percentiles. I am interested in creating a box and whisker plot for all these strings. I am new to the world of matlab. Any help would be greatly appreciated.
Many thanks!
댓글 수: 0
답변 (1개)
dpb
2018년 4월 13일
Unfortunately, the builtin boxplot function only does the whole thing from the raw data; it doesn't have the feature to build a boxplot from the statistics only. Oleg some years ago showed how to mung on a boxplot with made up data to produce one that has the desired statistics artifically introduced for the plot; it is doable but not as trivial as one would like. As he says, one would encapsulate the necessary commands in a function for use in practice. <Answer_40303>
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!