How to plot Histogram/bar graph for two data sets!!
Mostrar comentarios más antiguos
I have data set having two variables say EQ and MASS. Their length is same. I can plot the scatter plot as shown. 

What i want to do is to plot a histogram between the EQ and MASS showing that how much MASS is present at which EQ. I mean summing the scatter points at each EQ and showing it as a bar graph or histogram.
Can anyone guide me..I have tried but as i see histogram can be plotted for only one variable and no of bins.
Also I have tried combining them as one variable and plotting but still now working....

Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Annotations 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!













