惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
云风的 BLOG
云风的 BLOG
aimingoo的专栏
aimingoo的专栏
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss
F
Full Disclosure
A
About on SuperTechFans
C
Check Point Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
量子位
Know Your Adversary
Know Your Adversary
K
Kaspersky official blog
L
LINUX DO - 热门话题
Recorded Future
Recorded Future
C
Cisco Blogs
M
MIT News - Artificial intelligence
T
Tenable Blog
G
GRAHAM CLULEY
月光博客
月光博客
Recent Announcements
Recent Announcements
V
Visual Studio Blog
IT之家
IT之家
T
The Exploit Database - CXSecurity.com
The GitHub Blog
The GitHub Blog
T
Threat Research - Cisco Blogs
D
DataBreaches.Net
P
Privacy International News Feed
P
Proofpoint News Feed
I
Intezer
博客园 - 叶小钗
C
CXSECURITY Database RSS Feed - CXSecurity.com
The Hacker News
The Hacker News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - Franky
SecWiki News
SecWiki News
宝玉的分享
宝玉的分享
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
小众软件
小众软件
Hacker News - Newest:
Hacker News - Newest: "LLM"
O
OpenAI News
N
News and Events Feed by Topic
Microsoft Security Blog
Microsoft Security Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
N
News and Events Feed by Topic
The Cloudflare Blog
Spread Privacy
Spread Privacy
酷 壳 – CoolShell
酷 壳 – CoolShell
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
B
Blog RSS Feed

博客园 - Pavilion

windows下安装mingw-w64,c/c++编译器 word 文档,高亮关键字,因 DOM 结构复杂(跨段落、跨表格、跨样式)导致滚动定位偏差问题解决方案 python 命令行参数修改 安装Mysql macd指标 pyCharm 设置 签名,时间 Pycharm 设置 flask 监听端口 pycharm专业版的安装和破解教程 Python 虚拟环境安装flask框架 Read timed out. Python虚拟环境 解决pip无法更新问题的简单方法:WARNING: You are using pip version 20.2.1; however, version 24.2 is available. pyqt5 列表内添加按钮 RequestsDependencyWarning: urllib3 (2.0.0.dev0) or chardet (3.0.4) doesn't match a supported version! RequestsDependencyWarning) PyCharm怎样添加Qt designer 十大排序算法 IntelliJ IDEA安装教程 JDK12的安装搭建 提交并发量的方法:Java GC tuning :Garbage collector VNPY加密教程(Python生成pyd文件)
python 绘制点线
Pavilion · 2018-04-27 · via 博客园 - Pavilion
plot(x, y)         #默认为蓝色实线
plot(x, y, 'r*')   #红色星状标记
plot(x, y, 'go-')  #带有圆圈标记的绿线
plot(x, y, 'ks:')  #带有正方形标记的黑色虚线

用PyLab库绘图的基本颜色格式命令
颜色  
‘b’ 蓝色
'g' 绿色
'r' 红色
'c' 青色
'm' 品色
'y' 黄色
'k' 黑色
'w' 白色
用PyLay库绘图的基本线型格式命令

线型  
'-' 实线
'--' 虚线
':' 点线
用LyLab库绘图的基本绘制标记格式命令

标记  
'.'
'o' 圆圈
's' 正方形
'*' 星形
'+' 加号
'x' 叉号
PlotDataItem绘制线格式命令
线型  
虚线
--
 
QtCore.Qt.DashLine
 
实线
-
 
QtCore.Qt.CustomDashLine
 
点划线.-
 
DashDotLine
 
点线.
 
DotLine
 
点点线..-
 
DashDotDotLine
定制虚线
CustomDashLine
eg:
self.curveLowerLimit=pg.PlotDataItem()
# 虚线DashLine -- ,实线SolidLine -,点划线DashDotLine,点线DotLine,点点线DashDotDotLine,定制虚线CustomDashLine
# pen = pg.mkPen(color="w", width=1, style=QtCore.Qt.CustomDashLine)
# pen.setDashPattern([1, 4, 5, 4])
pen = pg.mkPen(color="w", width=1,style=QtCore.Qt.DashLine)