亚洲精品久久久中文字幕-亚洲精品久久片久久-亚洲精品久久青草-亚洲精品久久婷婷爱久久婷婷-亚洲精品久久午夜香蕉

您的位置:首頁技術文章
文章詳情頁

python matplotlib包圖像配色方案分享

瀏覽:10日期:2022-08-02 11:20:09

可選的配色方案:

Accent, Accent_r, Blues, Blues_r, BrBG, BrBG_r, BuGn, BuGn_r, BuPu, BuPu_r, CMRmap, CMRmap_r, Dark2, Dark2_r, GnBu, GnBu_r, Greens, Greens_r, Greys, Greys_r, OrRd, OrRd_r, Oranges, Oranges_r, PRGn, PRGn_r, Paired, Paired_r, Pastel1, Pastel1_r, Pastel2, Pastel2_r, PiYG, PiYG_r, PuBu, PuBuGn, PuBuGn_r, PuBu_r, PuOr, PuOr_r, PuRd, PuRd_r, Purples, Purples_r, RdBu, RdBu_r, RdGy, RdGy_r, RdPu, RdPu_r, RdYlBu, RdYlBu_r, RdYlGn, RdYlGn_r, Reds, Reds_r, Set1, Set1_r, Set2, Set2_r, Set3, Set3_r, Spectral, Spectral_r, Wistia, Wistia_r, YlGn, YlGnBu, YlGnBu_r, YlGn_r, YlOrBr, YlOrBr_r, YlOrRd, YlOrRd_r, afmhot, afmhot_r, autumn, autumn_r, binary, binary_r, bone, bone_r, brg, brg_r, bwr, bwr_r, cividis, cividis_r, cool, cool_r, coolwarm, coolwarm_r, copper, copper_r, cubehelix, cubehelix_r, flag, flag_r, gist_earth, gist_earth_r, gist_gray, gist_gray_r, gist_heat, gist_heat_r, gist_ncar, gist_ncar_r, gist_rainbow, gist_rainbow_r, gist_stern, gist_stern_r, gist_yarg, gist_yarg_r, gnuplot, gnuplot2, gnuplot2_r, gnuplot_r, gray, gray_r, hot, hot_r, hsv, hsv_r, inferno, inferno_r, jet, jet_r, magma, magma_r, nipy_spectral, nipy_spectral_r, ocean, ocean_r, pink, pink_r, plasma, plasma_r, prism, prism_r, rainbow, rainbow_r, seismic, seismic_r, spring, spring_r, summer, summer_r, tab10, tab10_r, tab20, tab20_r, tab20b, tab20b_r, tab20c, tab20c_r, terrain, terrain_r, viridis, viridis_r, winter, winter_r

RGB對照表:https://www.114la.com/other/rgb.htm

常用的幾個:

python matplotlib包圖像配色方案分享

示例代碼:

cm=’Spectral’ #hot bone cool copper gray hsv inferno jet magma pink plasma summer viridis bwr ocean rainbow coolwarm Spectral......................norm = matplotlib.colors.Normalize(vmin=min, vmax=max) map=plt.imshow(plt_arr,interpolation=’nearest’,cmap=cm,norm=norm, origin=’upper’) # plt_arr是要顯示的數據mydpi=1000plt.savefig('filename.png', dpi=mydpi ,bbox_inches=’tight’, pad_inches=0) # ,bbox_inches=’tight’ less white areaplt.show()

圖像實例:

hsv

python matplotlib包圖像配色方案分享

hot

python matplotlib包圖像配色方案分享

cool

python matplotlib包圖像配色方案分享

rainbow

python matplotlib包圖像配色方案分享

gist_earth

python matplotlib包圖像配色方案分享

以上這篇python matplotlib包圖像配色方案分享就是小編分享給大家的全部內容了,希望能給大家一個參考,也希望大家多多支持好吧啦網。

標簽: Python 編程
相關文章:
主站蜘蛛池模板: 国产精品国产三级国产在线观看 | 男女激情网 | 婷婷丁香九月 | 99久久免费国产精品m9 | 污污网站免费 | 亚洲一区 在线播放 | 国产美女精品在线 | 日韩国产精品欧美一区二区 | 99欧美精品 | 国产一级毛片亚洲久留木玲 | 18美女福利视频网站免费观看 | 亚洲国产成人久久一区www | 美女zw喷水视频在线观看 | 亚洲欧美国产精品久久久 | 毛片黄色视频 | 五月天婷婷网亚洲综合在线 | 亚洲福利一区二区 | 国产狂喷白浆在线观看视频 | 欧美剧场成人精品午夜 | 久久日韩精品中文字幕网 | 高清国产精品久久 | 日本不卡一区二区三区视频 | 九九久久精品国产 | 亚洲免费视频网站 | 国产在线毛片 | 国产欧美一区二区三区在线看 | 黄色片网址在线观看 | 国产精品尹人在线观看免费 | 美国一级毛片片aa久久综合 | 欧美日韩精品一区二区三区视频 | 网址大全在线免费观看 | 成年人性网站 | 国产精品二区三区 | 异族中国vs黑人 | 1000部啪啪未满十八勿入中国 | 日本乱人伦片中文字幕三区 | 青青久在线视频免费观看 | 九九国产精品九九 | 久久机热综合久久国产 | 黄色免费网络 | 亚洲欧美综合久久 |