Histogram2 tile(Indicating the values of each tile inside the tile)
7 ビュー (過去 30 日間)
古いコメントを表示
Hi All,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/641770/image.png)
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)
0 件のコメント
採用された回答
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!