##기본 패턴 선차트,,,원형차트 막대차트 등으로 응용할수 있음
import matplotlib.pyplot as plt

x = [1,2,3]
y = [9,2,5]

x2 = [1,2,3]
y2 = [10,14,12]

plt.plot(x,y, label= 'A')
plt.plot(x2,y2, label='B')

plt.xlabel('Plot Number') #x축
plt.ylabel('Importatn var') #y축

plt.title('Interesting Graph\n check it out') #title

plt.legend() #옆에 label 붙이는 것

plt.show()




























+ Recent posts