美文网首页
python学习笔记1-画图

python学习笔记1-画图

作者: aLulujasmine | 来源:发表于2019-01-16 20:33 被阅读0次

matplotlib.pyplot

plt.scatter参数解释:

https://blog.csdn.net/qiu931110/article/details/68130199

plt.errobar:

https://matplotlib.org/api/_as_gen/matplotlib.pyplot.errorbar.html?highlight=errorbar#matplotlib.pyplot.errorbar

参数解释:

capsize:误差棒末端的横线(或竖线(如果是xerr)的长度

color:误差棒的颜色

mfc(markeracecolor):样本点的颜色

mec(markeredgecolor):样本点边缘的颜色

mew(markeredgewidth):样本点边缘的宽度

marker:样本点的形状,默认是圆形,‘s‘代表方形(square),但是’c‘不代表圆形

markersize:样本点的大小

fillstyle:填充多少,’full' ,'left','right','top','bottom'

plt.subplot(m.n,l)

m:子图的总个数

n:横向的子图序列数

l:纵向的子图序列数

相关文章

网友评论

      本文标题:python学习笔记1-画图

      本文链接:https://www.haomeiwen.com/subject/fcjvdqtx.html