for loop과 fig, ax 사용하여 그림 그리기
import pandas as pd import matplotlib.pyplot as plt df={'channel': ['a', 'a', 'a', 'a','b','b','b','b'], 'x': [1, 2, 3, 4,5,6,7,8], 'y1':[10,20,30,40,50,60,70,80], 'y2':[20,40,60,80, 100, 120, 140, 160], 'y3':[30,60,90,120, 160, 180, 190, 200] } df=pd.DataFrame(df) channel_list = df.channel.unique() nrow=len(df.channel.unique()) ncol=2 fig, ax = plt.subplots(nrow,ncol,figsize=(10,15)) for a,chan..
2022. 7. 23.