반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Python
- gas
- PANDAS
- Excel
- Redshift
- django
- Java
- Tkinter
- numpy
- google apps script
- Google Excel
- Google Spreadsheet
- list
- array
- Github
- hive
- math
- PostgreSQL
- Apache
- Mac
- SQL
- dataframe
- PySpark
- Kotlin
- string
- 파이썬
- c#
- GIT
- matplotlib
Archives
- Today
- Total
목록Python/Python matplotlib (33)
달나라 노트

Python의 matplotlib를 이용하면 Python에서 그래프를 그릴 수 있습니다. import matplotlib.pyplot as plt list_x = [1, 2, 3, 4, 5] list_y = [10, 30, 15, 20, 5] plt.plot(list_x, list_y, color='skyblue', marker='o', markerfacecolor='blue', markersize=12) plt.title('Test graph') plt.xlabel('date') plt.ylabel('amount') plt.show() plt.close() 위같은 코드를 작성하여 실행하면 아래 이미지와 같은 결과를 얻을 수 있습니다. 그래프를 그릴 수 있죠. 그러면 위 코드를 한번 해석해봅시다. imp..
Python/Python matplotlib
2021. 7. 26. 21:41