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