フィルターのクリア

help on a histogram plot!

5 ビュー (過去 30 日間)
Ano
Ano 2018 年 3 月 16 日
コメント済み: Ano 2018 年 3 月 16 日
Hello! I have a matrix (5x5) which I would like to plot (in 3D) using the hist3, I would like the plot to be a (5x5) grid where the height of each pin reflects the entry value of the matrix at that position , how can I do it ? Thank you !
  4 件のコメント
Image Analyst
Image Analyst 2018 年 3 月 16 日
The answer you just accepted below was the first option I gave - plotting the original data - it does not do anything with the histogram, which is a frequency distribution (counts) of the data values. So now we don't know if you accepted in advance, or you just didn't state what you want.
Ano
Ano 2018 年 3 月 16 日
the answer I accepted answers literally the question. but I want to learn how to do it when the frequency is the third dimension. thank you!

サインインしてコメントする。

採用された回答

KL
KL 2018 年 3 月 16 日
use bar3,
bar3(matrix)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by