필터 지우기
필터 지우기

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에서 Histograms에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by