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

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