본문 바로가기

공부는 언제까지 해야 하나

[Python] matplotlib module - scatter( )

import matplotlib.pyplot as plt

 

plt.scatter( x, y, s = size, c = 'color', marker = 'D' (diamond) )

plt.plot과 비교

marker = (5, 0) : 5각형 polygon, (5, 1) : star, (5, 2) : asterisk, (5, 3) : circle

iris.csv로 scatter( ) plot