Questions tagged «marker»

6
pyplot散点图标记大小
在散点图的pyplot文档中: matplotlib.pyplot.scatter(x, y, s=20, c='b', marker='o', cmap=None, norm=None, vmin=None, vmax=None, alpha=None, linewidths=None, faceted=True, verts=None, hold=None, **kwargs) 标记尺寸 s:以磅为单位的大小^ 2。它是标量或与x和y长度相同的数组。 什么单位points^2?这是什么意思?是否s=100意味10 pixel x 10 pixel? 基本上,我正在尝试制作具有不同标记大小的散点图,并且我想弄清楚s数字的含义。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.