【发布时间】:2011-10-14 21:42:09
【问题描述】:
据我所知,直方图函数中的选项 Log=True 仅指 y 轴。
P.hist(d,bins=50,log=True,alpha=0.5,color='b',histtype='step')
我需要 bin 在 log10 中等距分布。有什么可以做到的吗?
【问题讨论】:
-
如果这样做,您必须将每个 bin 中的计数除以 bin 宽度!
标签: python numpy matplotlib histogram