본문 바로가기
728x90
반응형

Python/matplotlib22

[matplotlib] plt.ion 과 plt.ioff 를 통한 대화형으로 그래프 그리기 이 문서는Python REPL(Read-Eval-Print Loop) 환경에서matplotlib을 대화형으로 사용하는 예제임. 아래 코드는 Python 명령 프롬프트나 IPython과 같은 REPL 환경에서 단계별로 실행할 수 있음:# 먼저 필요한 라이브러리를 importimport matplotlib.pyplot as pltimport numpy as np# 대화형(REPL, or interactive) 모드 활성화plt.ion()# 데이터 생성x = np.linspace(0, 10, 100)y = np.sin(x)# 그래프 생성fig, ax = plt.subplots()line, = ax.plot(x, y, 'b-')ax.set_title('Interactive Sine Wave')ax.set_xla.. 2025. 3. 24.
[matplotlib] Canvas, Render, and Event : Backend 구성 Layers Canvas, Render, and Event : Backend 구성 Layers Matplotlib의 backend는 크게FigureCanvas, Renderer, Event layer로 구성되어 있음.2023.07.20 - [Python/matplotlib] - [matplotlib] : backend 란 [matplotlib] : backend 란matplotlib: backend란 matplotlib의 backend 관련자료를 정리한 문서임.Matplotlib ArchitectureMatplotlib 아키텍트는 다음과 같이 크게 3가지 레이어로 구성된다.Backend Layer :상위 layer에서 graph를 생성하는데 초점ds31x.tistory.com 각 layer는 Artist 및 Scri.. 2024. 6. 11.
[matplotlib] Summary : 작성중 Introduction2024.03.04 - [Python/matplotlib] - [matplotlib] matplotlib란 [matplotlib] matplotlib란Matplotlib은 Python에서 가장 널리 사용되는 Data Visualization Library임. matplotlib를 통해 chart(차트), image(이미지) 및, 다양한 visual representation of data이 가능함. pyplot 모듈을 통해 공학 계산 및 visualization으ds31x.tistory.comvisualization2024.01.22 - [Python/matplotlib] - [matplotlib] Visualization: Graph, Chart, Diagram, Figure [m.. 2024. 6. 3.
[matplotlib] Object Oriented Style Tutorial Matplotlib Object Oriented Style Tutorial1. IntroductionMatplotlib은 Python의 2D plotting library로, 다양한 그래프와 플롯을 생성하는 데 사용됨.2024.03.04 - [Python/matplotlib] - [matplotlib] matplotlib란 [matplotlib] matplotlib란Matplotlib은 Python에서 가장 널리 사용되는 Data Visualization Library임. matplotlib를 통해 chart(차트), image(이미지) 및, 다양한 visual representation of data이 가능함. pyplot 모듈을 통해 공학 계산 및 visualization으ds31x.tistory.c.. 2024. 6. 3.
[matplotlib] Tutorial: Scripting Style Tutorial: Scripting Style  이 문서는 matplotlib.pyplot의 script 방식에 대한 간단한 튜토리얼임. scripting style에 대해서 잘 모르면 다음을 읽어볼 것.2024.06.02 - [Python/matplotlib] - [matplotlib] Scripting Layer vs. Artist Layer [matplotlib] Scripting Layer vs. Artist LayerScripting Layer vs. Artist LayerMatplotlib는Scripting Layer와 (이를 이용시 scripting style 이라고 불림)Artist Layer 라는 (이를 이용시 object-oriented style 이라고 불림)두 가지 주요 인터페이스를.. 2024. 6. 3.
[matplotlib] Scripting Layer vs. Artist Layer Scripting Layer vs. Artist LayerMatplotlib는Scripting Layer와 (이를 이용시 scripting style 이라고 불림)Artist Layer 라는 (이를 이용시 object-oriented style 이라고 불림)두 가지 주요 인터페이스를 plot을 그리기 위해 제공함. 이 외에 backend layer를 가지는데 이는 사용자가 plots를 그릴 때 이용하는 인터페이스가 아님.2023.07.20 - [Python/matplotlib] - [Python] matplotlib : backend란 [Python] matplotlib : backend란matplotlib: backend란 matplotlib의 backend 관련자료를 정리한 문서임.Matplotlib.. 2024. 6. 2.
728x90
반응형