반응형
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 |
Tags
- matplotlib
- 파이썬
- Tkinter
- Google Spreadsheet
- dataframe
- Apache
- list
- Github
- Python
- PySpark
- PostgreSQL
- google apps script
- Google Excel
- c#
- Kotlin
- django
- Redshift
- GIT
- Excel
- Java
- SQL
- math
- gas
- hive
- array
- numpy
- Mac
- string
- PANDAS
Archives
- Today
- Total
목록ylabel (1)
달나라 노트
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/FReFt/btrqMctmgCf/ofC36Ywcp3uJSWuth83lMk/img.png)
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