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

matplotlib를 이용해서 그래프를 그린 후 x축/y축 각각이 어떤 데이터를 의미하는지에 대한 정보를 주기 위해 x축/y축에 이름을 붙여줄 수 있습니다. 또한 그래프 자체의 제목을 붙일 수도 있습니다. import matplotlib.pyplot as plt list_x_1 = [1, 2, 3, 4, 5, 6, 7, 8] list_y_1 = [10, 2, 8, 4, 6, 5, 6, 4] plt.title('Test graph') plt.xlabel('X axis') plt.ylabel('Y axis') plt.plot(list_x_1, list_y_1, color='skyblue', marker='o', markerfacecolor='blue', markersize=6) plt.show() 위 코드의..
Python/Python matplotlib
2022. 1. 14. 19:30