필터 지우기
필터 지우기

Problem with displaying box plot chart

조회 수: 8 (최근 30일)
Gil maor
Gil maor 2011년 1월 21일
I'm having a problem with displaying box plot chart.
I'm running the box plot function on a vector within a matrix.
The resault graph has only "Whiskers" and no box plot - the blue box.
  댓글 수: 2
Todd Flanagan
Todd Flanagan 2011년 1월 21일
Hi Gil. Could you post a screen shot and a bit of sample code?
Gil maor
Gil maor 2011년 1월 21일
Hi Todd, Thanks for the help, problem is solved.

댓글을 달려면 로그인하십시오.

채택된 답변

the cyclist
the cyclist 2011년 1월 21일
One reason that this could happen is that the distribution is so narrow that the 25th and 75th percentiles are identical to the median. The box then "collapses" into one value.
You might try using the "prctile" command on the data you are plotting, to test what the 25th, 50th, and 75th percentiles are. The 25th and 75th define the outer edges of the box.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by