Inherited from the Dot Plots, Scatter plots are of very similar types. It provides a power of different features for every individual point. We are allowed to vary the size, color, and other properties of each data point and which makes data more friendly to visualize.
从继承点图 , 散点图是非常相似的类型。 它为每个单独的点提供了多种功能。 我们可以更改每个数据点的大小,颜色和其他属性,这使数据更易于可视化。
1)常规散点图 (1) Normal Scatter Plot )
Syntax:
句法:
plt.scatter(x, y, alpha=0.8)
Parameter(s):
参数:
x, y - data points in an array
x , y-数组中的数据点
Alpha = 0.8 - opaque value (0 for transparent and 1 for opaque)
Alpha = 0.8-不透明值(0表示透明,1表示不透明)