How to divide 2D histogram into four quadrants
4 ビュー (過去 30 日間)
古いコメントを表示
I have plotted the 2D histogram between x,y.
Now anyone help me to divide the histogram into four equal quadrants.
I have attached the sample 2D histogram. i need to split using horizontal and vertical lines attached to the figure.
Thanks.
2 件のコメント
回答 (1 件)
KALYAN ACHARJYA
2020 年 4 月 6 日
編集済み: KALYAN ACHARJYA
2020 年 4 月 6 日
You can manualy insert the line as required
data=randi(100,[10,10]);
hist(data);
grid on;
hold on;
x_data=1:100;
y_data=repelem(2,length(x_data));
plot(x_data,y_data,'r','linewidth',2);
参考
カテゴリ
Help Center および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!