科学计算常用函数

numpy.histogramdd(sample, bins=10, range=None, normed=None, weights=None, density=None)

https://docs.scipy.org/doc/numpy/reference/generated/numpy.histogramdd.html


numpy.meshgrid(*xi, **kwargs)

https://docs.scipy.org/doc/numpy/reference/generated/numpy.meshgrid.html


matplotlib.pyplot.scatter(x, y, s=None, c=None, marker=None, cmap=None, norm=None, vmin=None, vmax=None, alpha=None, linewidths=None, verts=None, edgecolors=None, *, data=None, **kwargs)

https://matplotlib.org/api/_as_gen/matplotlib.pyplot.scatter.html#matplotlib.pyplot.scatter

s:scalar or array_like:shape (n, )

c:color, sequence, or sequence of color

marker:标记样式

norm:亮度数据


numpy.random.randint(low, high=None, size=None, dtype='l')

https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.randint.html


numpy.median(a, axis=None, out=None, overwrite_input=False, keepdims=False)

https://docs.scipy.org/doc/numpy/reference/generated/numpy.median.html


猜你喜欢

转载自blog.csdn.net/weixin_41622267/article/details/84672524