1. 程式人生 > >科學計算常用函式

科學計算常用函式

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