plotting a matrix values as a bar diagram

1 visualización (últimos 30 días)
AJAY CHANDRA DORAGARI
AJAY CHANDRA DORAGARI el 26 de Jun. de 2020
Comentada: AJAY CHANDRA DORAGARI el 26 de Jun. de 2020
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

Respuesta aceptada

Ameer Hamza
Ameer Hamza el 26 de Jun. de 2020
See boxplot() or boxchart()
boxplot(s.')
It will show the range of values in each row.

Más respuestas (0)

Categorías

Más información sobre Bar Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by