首页 > 编程语言 > 详细

python中matplotlib的颜色及线条控制

时间:2020-05-04 19:06:33      阅读:63      评论:0      收藏:0      [点我收藏+]

转载自:

http://www.cnblogs.com/darkknightzh/p/6117528.html

参考网址:

http://stackoverflow.com/questions/22408237/named-colors-in-matplotlib

http://stackoverflow.com/questions/8409095/matplotlib-set-markers-for-individual-points-on-a-line

技术分享图片

 技术分享图片

说明:其实上面color=‘ coral ‘中,可以换成color=‘ #054E9F‘,每两个十六进制数分别代表R、G、B分量:

技术分享图片

 第二个参考网址给出了linestyle可选参数:

技术分享图片

 第二个参考网址给出了marker可选参数:

技术分享图片

技术分享图片

第一个参考网址给出了matplotlib中color可用的颜色:

 技术分享图片

python中matplotlib的颜色及线条控制

原文:https://www.cnblogs.com/wangconnor/p/12827524.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!