필터 지우기
필터 지우기

Plotting Box Representation of Different Group of Categorical Data

조회 수: 1 (최근 30일)
Emin BAKIR
Emin BAKIR 2016년 5월 18일
답변: Peter Perkins 2018년 4월 13일
I have a numeric vector, called sizes, and categorical results of 8 different experiments (results not necessary to be same, but should be categorical or string) as follows,
For each result I need to draw boxplot of different categories (A, B, C, D) with different box colours, In addition, all results should be displayed on one figure. Roughly and ugly figure should be like following image. Do you have any suggestion? Cheers,

답변 (2개)

Muhammad shahid
Muhammad shahid 2018년 4월 12일

Peter Perkins
Peter Perkins 2018년 4월 13일
If you have access to the Statistics & Machine Learning Toolbox, the box plot function does that and more.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by