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

maplotlib의 scatter method는 점 그래프를 그려줍니다. 쉽게말해 점과 점을 이어주는 선 없이 오로지 점만을 나타내줍니다. import matplotlib.pyplot as plt list_x = [1, 2, 3, 4, 5] list_y = [10, 30, 15, 20, 5] plt.scatter(list_x, list_y, marker='o', s=30, c='lightgreen', edgecolors='black') plt.title('Test graph') plt.xlabel('date') plt.ylabel('amount') plt.show() scatter method는 사용법이 plot method와 거의 동일합니다. (plot method 관련 = https://cosmosp..
Python/Python matplotlib
2022. 1. 22. 20:31