필터 지우기
필터 지우기

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 CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by