Matplotlib
#
Find similar titles
- (rev. 10)
- Hyungyong Kim
Structured data
- Programming Language
- Python
- URL
- http://matplotlib.org
Matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. Matplotlib can be used in Python scripts, the Python and IPython shell, the Jupyter notebook, web application servers, and four graphical user interface toolkits.
Types of plotting interfaces
- State-based (aka MATLAB-based): axes 대신 figure 초점
- Object oriented based: axes 위주 - 세밀한 제어를 위해서는 이 방식으로 해야 함
관련 프로젝트
Table of Contents
사용 방식 #
State-based (MATLAB 유사) #
#!python
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0, 1, 50)
y = np.cos(4*np.pi*x)
plt.plot(x, y)
plt.show()
Object-based #
#!python
fig = plt.figure()
ax = fig.subplots() # 위 두줄은 fig, ax = plt.subplots()
ax.plot(x, y)
관련정보 #
- Animations with Matplotlib : 앞으로 Data visualization은 animation으로!
- Matplotlib Tutorial – A Complete Guide to Python Plot w/ Examples
- Introduction to Matplotlib — Data Visualization in Python
- Effectively Using Matplotlib
- Matplotlib tutorial: Plotting tweets mentioning Trump, Clinton & Sanders
Incoming Links #
Related Articles (Article 0) #
Related Codes (Code 1) #
Suggested Pages #
- 0.259 Kubeflow
- 0.209 Text-to-image model
- 0.074 WDL
- 0.034 Feature extraction
- 0.024 TensorFlow
- 0.024 Decision tree
- 0.024 Practical Business Python
- 0.024 Circa
- 0.023 Hyuna Kim
- 0.022 Plotly
- More suggestions...