plotting a matrix values as a bar diagram

1 回表示 (過去 30 日間)
AJAY CHANDRA DORAGARI
AJAY CHANDRA DORAGARI 2020 年 6 月 26 日
268.1667 235.3333 202.5000 169.6667 136.8333 104.0000 71.1667 38.3333
286.0333 250.2667 214.5000 178.7333 142.9667 107.2000 71.4333 35.6667
303.9000 265.2000 226.5000 187.8000 149.1000 110.4000 71.7000 33.0000
321.7667 280.1333 238.5000 196.8667 155.2333 113.6000 71.9667 30.3333
339.6333 295.0667 250.5000 205.9333 161.3667 116.8000 72.2333 27.6667
339.6333 295.0667 250.5000 205.9333 161.3667 116.8000 72.2333 27.6667
>> here s is 6*8 matrix which i represented above
s=[ 268.1667 235.3333 202.5000 169.6667 136.8333 104.0000 71.1667 38.3333;
286.0333 250.2667 214.5000 178.7333 142.9667 107.2000 71.4333 35.6667;
303.9000 265.2000 226.5000 187.8000 149.1000 110.4000 71.7000 33.0000;
321.7667 280.1333 238.5000 196.8667 155.2333 113.6000 71.9667 30.3333;
339.6333 295.0667 250.5000 205.9333 161.3667 116.8000 72.2333 27.6667;
339.6333 295.0667 250.5000 205.9333 161.3667 116.8000 72.2333 27.6667];
i every row there is a expansion of range of values i.e in first row values are from 268.1667 to 38.333 and second row from 286.0333 to 35.667 and so on.......
i want to show this expansion on graph
where my x axis i want this contraction
just like a bar diagram
please help me to plot this

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 6 月 26 日
See boxplot() or boxchart()
boxplot(s.')
It will show the range of values in each row.
  1 件のコメント
AJAY CHANDRA DORAGARI
AJAY CHANDRA DORAGARI 2020 年 6 月 26 日
thank you!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBar Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by