简体   繁体   English

matplotlib 2.1.0上的图均值和标准差

[英]Plot mean and standard deviation on matplotlib 2.1.0

I need plot a function with dots and the standard deviation. 我需要用点和标准偏差绘制函数。 This post has all I need, but I am using matplotlib 2.1.0 on Python 3.4.3 and it doesn't draw upper and lower lines of standard deviation. 这篇文章提供了我所需的一切,但是我在Python 3.4.3上使用了matplotlib 2.1.0,它没有绘制标准偏差的上下线。 I mean standard deviation lines doesn't have horizontal lines in their extremes. 我的意思是标准偏差线在极端情况下没有水平线。 Is there any way to draw those lines in the matplotlib version which I am using? 有什么办法可以在我正在使用的matplotlib版本中绘制这些线条?

capthick= capsize=capthick=参数调整为函数errorbar()

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM