Histogram chart re-bin on zoom?

1 次查看(过去 30 天)
Jared
Jared 2011-10-15
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?

采纳的回答

Jan
Jan 2011-10-15
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 个)

类别

Help CenterFile Exchange 中查找有关 Data Exploration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by