フィルターのクリア

Plotting histogram with similar graphical view as imhist produces

2 ビュー (過去 30 日間)
Shashi
Shashi 2012 年 3 月 3 日
Hi everybody,
Can one of you let me know how to plot a histogram with distinctive lines as imhist produces. I do not want the color map to be existing there as is seen in the image of imhist. Since, i am not able to call the imhistc (mex) file embedded within the code of imhist, i am unable to use it for re-generating the graph as earlier.

回答 (1 件)

Image Analyst
Image Analyst 2012 年 3 月 3 日
I'm not exactly sure what you're referring to but did you try calling hist() and then calling bar()? bar() has a lot of options for setting bar widths, etc.
  1 件のコメント
Shashi
Shashi 2012 年 3 月 3 日
Yes, i did try using hist, and bar function. I was able to get a good graph, but the width of the lines were required to be kept very small. And i certain cases, i was getting an overlap of the lines. So, i just thought if i could use a similar function as used by imhist for plotting.

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

カテゴリ

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