【发布时间】:2013-10-14 08:38:04
【问题描述】:
我创建了下面的直方图:
并且想知道是否可以仅绘制顶部边缘(黑色)而不是绘制整个图形(蓝色)?
或者只是拟合线以匹配分布的顶部?
我的代码是:
plt.hist(histogramData, bins=200, normed=True, cumulative=True, edgecolor='b', facecolor='None')
我尝试删除 'edgecolor' 和 'facecolor' 但似乎不起作用...
感谢您的帮助!
【问题讨论】:
-
或许能够同时绘制两者也会很有趣。喜欢this in d3.js。
标签: python matplotlib histogram