multiple plot in one figure (여러 plot 한 화면에 표기)


multiple plot in one figure (여러 plot 한 화면에 표기)

해당 코드는 아래 참조 링크에서 가져왔다. 아래는 코드, 코드 해석, 결과 화면이다. import matplotlib.pyplot as plt def make_patch_spines_invisible(ax): ax.set_frame_on(True) ax.patch.set_visible(False) for sp in ax.spines.values(): sp.set_visible(False) fig, host = plt.subplots() fig.subplots_adjust(right=0.75) par1 = host.twinx() par2 = host.twinx() # Offset the right spine of par2. The ticks and label have already been # placed..


원문링크 : multiple plot in one figure (여러 plot 한 화면에 표기)