Problem with loop to construct graph
Mostrar comentarios más antiguos
Currently I am working on constructing a bar graph for my data (file as attached). But I encountered some problem while trying to rearrange the the data into specific categories. I would like to plot one figure for each position, which means
for Figure 1 ( x position), there will be 3 categories a) x <0.3 cm b) 0.3 cm<x<0.5 cm c) x >0.5 cm
and classify all the data in the column max-x (excel file as attached, sheet name : Book1) into these 3 categories. I already tried using hist and binranges command but it does not work.
2 comentarios
Can you please clarify what you want to do exactly? Do you want to draw a bar chart for the number of points according to the given criteria? For example something like this:
|
|
| |
| |
x<0.3 0.3<x<0.5 x>0.5
Or what exactly?
Nada Zamri
el 26 de Oct. de 2016
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre App Building en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!