Histogram2 tile(Indicating the values of each tile inside the tile)

조회 수: 3 (최근 30일)
Hi All,
I want to indicate the each and every tile value inside in each and every relevant tile of the histogram2 graph. Appreciate your support.
figure()
histogram2(Alpha,Beta,[10 10],'Normalization','probability','FaceColor','flat','DisplayStyle','tile')
xlabel('Alpha')
xlim([-90 90])
ylabel('Beta')
ylim([-90 90])
grid on
Xedges = [-90 -90:-1:90 90];
Yedges = [-90 -90:-1:90 90];
hcb=colorbar;
colorTitleHandle = get(hcb,'Title');
titleString = 'FREQUENCY';
set(colorTitleHandle ,'String',titleString);
view(2)

채택된 답변

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021년 6월 4일
Hi,
This discussion demonstrates explicitly how to show histogram2 data points within plotted tiles and provides codes (fcn file) how to get this exercises done.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by