boxplotの箱ひ​げ図描画で、外れ値を​考慮せずに最小値とし​て描くことは可能でし​ょうか?

28 visualizaciones (últimos 30 días)
KK
KK el 7 de Dic. de 2021
Comentada: KK el 7 de Dic. de 2021
外れ値の判定をせずに最大値・最小値などとみなして箱ひげ図のプロットをしたいのですが、boxchart関数でこれは可能でしょうか?
よろしくお願い致します。

Respuesta aceptada

Megumi Fukuda
Megumi Fukuda el 7 de Dic. de 2021
boxplot関数では、Whiskerというオプションがあり、このパラメータを変えることでwhiskerの長さを変更できます。
data = rand(20, 1);
data(21) = 10;
boxplot(data) %そのままプロットすると、data(21)は外れ値としてプロットされる
boxplot(data, 'Whisker', 50)
boxchartだとWhiskerオプションはなさそうですね。
  1 comentario
KK
KK el 7 de Dic. de 2021
やはりtoolboxは必要のようですね。。。
ご回答ありがとうございました!

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!