How can I plot a histogram with a logarithmic X-axis?
70 ビュー (過去 30 日間)
古いコメントを表示
I would like to plot a histogram of my data, with the x-axis being logarithmic, such as in semilogx
採用された回答
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!