Python Matplotlib - Txt File Load 그래프
1. TXT 파일을 쉼표로 구분하여 Sample Data File 작성1, 22, 33, 44, 55, 66, 77, 88, 99, 1010, 11 2. Sample Code(import CSV)- Import Moduleimport matplotlib.pyplot as plt import csv- Codeimport matplotlib.pyplot as plt import csv x = [] y = [] with open('sample.txt', 'r') as csvfile: plots = csv.reader(csvfile, delimiter=',') for row in plots: x.append(int(row[0])) y.append(int(row[1])) plt.figure() plt.plot(x..