matplotlib 全部cmap
时间: 2023-10-28 12:43:54 浏览: 184
rand_cmap:创建一个随机的颜色图,与matplotlib一起使用。 对细分任务很有用
Matplotlib中的cmap是指颜色映射(colormap),用于将数据值映射到颜色空间中。下面列出了matplotlib中的全部cmap:
1. Accent
2. Accent_r
3. Blues
4. Blues_r
5. BrBG
6. BrBG_r
7. BuGn
8. BuGn_r
9. BuPu
10. BuPu_r
11. CMRmap
12. CMRmap_r
13. Dark2
14. Dark2_r
15. GnBu
16. GnBu_r
17. Greens
18. Greens_r
19. Greys
20. Greys_r
21. OrRd
22. OrRd_r
23. Oranges
24. Oranges_r
25. PRGn
26. PRGn_r
27. Paired
28. Paired_r
29. Pastel1
30. Pastel1_r
31. Pastel2
32. Pastel2_r
33. PiYG
34. PiYG_r
35. PuBu
36. PuBuGn
37. PuBuGn_r
38. PuBu_r
39. PuOr
40. PuOr_r
41. PuRd
42. PuRd_r
43. Purples
44. Purples_r
45. RdBu
46. RdBu_r
47. RdGy
48. RdGy_r
49. RdPu
50. RdPu_r
51. RdYlBu
52. RdYlBu_r
53. RdYlGn
54. RdYlGn_r
55. Reds
56. Reds_r
57. Set1
58. Set1_r
59. Set2
60. Set2_r
61. Set3
62. Set3_r
63. Spectral
64. Spectral_r
65. Wistia
66. Wistia_r
67. YlGn
68. YlGnBu
69. YlGnBu_r
70. YlGn_r
71. YlOrBr
72. YlOrBr_r
73. YlOrRd
74. YlOrRd_r
75. afmhot
76. afmhot_r
77. autumn
78. autumn_r
79. binary
80. binary_r
81. bone
82. bone_r
83. brg
84. brg_r
85. bwr
86. bwr_r
87. cividis
88. cividis_r
89. cool
90. cool_r
91. coolwarm
92. coolwarm_r
93. copper
94. copper_r
95. cubehelix
96. cubehelix_r
97. flag
98. flag_r
99. gist_earth
100. gist_earth_r
101. gist_gray
102. gist_gray_r
103. gist_heat
104. gist_heat_r
105. gist_ncar
106. gist_ncar_r
107. gist_rainbow
108. gist_rainbow_r
109. gist_stern
110. gist_stern_r
111. gist_yarg
112. gist_yarg_r
113. gnuplot
114. gnuplot2
115. gnuplot2_r
116. gnuplot_r
117. gray
118. gray_r
119. hot
120. hot_r
121. hsv
122. hsv_r
123. inferno
124. inferno_r
125. jet
126. jet_r
127. magma
128. magma_r
129. nipy_spectral
130. nipy_spectral_r
131. ocean
132. ocean_r
133. pink
134. pink_r
135. plasma
136. plasma_r
137. prism
138. prism_r
139. rainbow
140. rainbow_r
141. seismic
142. seismic_r
143. spring
144. spring_r
145. summer
146. summer_r
147. tab10
148. tab10_r
149. tab20
150. tab20_r
151. tab20b
152. tab20b_r
153. tab20c
154. tab20c_r
155. terrain
156. terrain_r
157. twilight
158. twilight_r
159. twilight_shifted
160. twilight_shifted_r
161. viridis
162. viridis_r
163. winter
164. winter_r
以上是Matplotlib中所有的cmap。
阅读全文