开发者

How to change text of y-axes on a matplotlib generated picture

The page is "http://matplotlib.sourceforge.net/examples/pylab_examples/histogram_demo_extended.html"

Let's look at the y-axis, the numbers there do not make any sense, could we change it to something else that is meani开发者_运维知识库ngful?


Except the cumulative distribution plot, and the last one, the rest of the y-axes data show normalized histogram values with normed=1 keyword set (i.e., the are underneath the histogram equals to 1 as in the definition of a probability density function (PDF))


You can use yticks(), see this example.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜