Histogram chart re-bin on zoom?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Currently, I am using hist and bar to plot histogram data. It is by default 10 bins. As an example, say I'm looking at frequency components. I have a lot of data around 300 MHz, some around 500 MHz, and a lot around 1 GHz. In the normal view, I see 3 bars. But if I zoom in on say the 300 MHz bar, I want to be able to see that is actually made up of components of 300, 300.2, 300.5, etc. Is there any way to have only the data in the current view re-drawn as 10 bins?
0 comentarios
Respuesta aceptada
Jan
el 15 de Oct. de 2011
Look in the help text of zoom. There you find the usage of the zoom's ActionPostCallback, which cen be used to determine the new X-limits. You can divide these new limits to 10 bins again and let HITSC find the new values.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Exploration 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!