python角点的类型
While comparing the number of plots in a figure, color limits us to very few numbers. Therefore, mathplotlib.pyplot has provided different types of dots (for instance shown in the figure) which allow us to move one step forward in efficacious visualization.
在比较图中的图形数量时,颜色将我们限制为很少的数字。 因此,mathplotlib.pyplot提供了不同类型的点 (例如,图中所示),这使我们在有效的可视化方面向前迈进了一步。
1)颜色代码为绿色,蓝色,黄色,红色的正方形点 (1) Square points with color code Green, Blue, Yellow, Red)
Syntax:
句法:
plt.plot(x1,y1,'**',x2,y2,'**',x3,y3,'**')
_s - s if keyword for square type points
_s - s如果是方形点的关键字