반응형
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
- Google Spreadsheet
- list
- gas
- Redshift
- GIT
- dataframe
- 파이썬
- PySpark
- matplotlib
- Tkinter
- Apache
- Github
- PANDAS
- Mac
- Java
- PostgreSQL
- array
- google apps script
- c#
- string
- Kotlin
- Excel
- hive
- Python
- django
- Google Excel
- math
- numpy
- SQL
Archives
- Today
- Total
목록2024/04/02 (1)
달나라 노트
Python matplotlib : pcolormesh, cmap, colorbar (색깔 그래프, color graph)
pcolormesh method는 color graph를 그릴 수 있게 해줍니다. pcolormesh는 다음과 같이 사용할 수 있습니다. import matplotlib.pyplot as plt plt.pcolormesh( [ [0, 1, 2, 3, 4], [1, 2, 3, 4, 5], [2, 3, 4, 5, 6], [3, 4, 5, 6, 7] ] ) plt.show() 그러면 위같은 결과가 나옵니다. import matplotlib.pyplot as plt plt.pcolormesh( [ [0, 1, 2, 3, 4], [1, 2, 3, 4, 5], [2, 3, 4, 5, 6], [3, 4, 5, 6, 7] ] ) plt.show() 코드를 다시 보면 일단 pcolormesh()에 전달되는 array 또..
Python/Python matplotlib
2024. 4. 2. 00:26