반응형
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 | 31 |
Tags
- Tkinter
- array
- Excel
- SQL
- Google Spreadsheet
- hive
- numpy
- Java
- google apps script
- math
- 파이썬
- django
- dataframe
- list
- PostgreSQL
- Github
- c#
- Redshift
- PANDAS
- Python
- string
- matplotlib
- gas
- PySpark
- Kotlin
- GIT
- Apache
- Mac
- Google Excel
Archives
- Today
- Total
목록python graph (1)
달나라 노트
Python matplotlib : pyplot (Python으로 그래프 그리기)
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