How can I plot a histogram with a logarithmic X-axis?

조회 수: 64 (최근 30일)
I would like to plot a histogram of my data, with the x-axis being logarithmic, such as in semilogx

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 6월 27일
The ability to directly plot a histogram with a logarithmic x-axis is not available in MATLAB.
To work around this issue, use the HIST function to plot the histogram, and them use
set(gca,'xscale','log')
to set the x-axis scale to logarithmic.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2006a

Community Treasure Hunt

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

Start Hunting!

Translated by