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

推荐订阅源

D
DataBreaches.Net
V
Vulnerabilities – Threatpost
C
CERT Recently Published Vulnerability Notes
Google DeepMind News
Google DeepMind News
GbyAI
GbyAI
Y
Y Combinator Blog
T
Threatpost
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Project Zero
Project Zero
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
MyScale Blog
MyScale Blog
Security Latest
Security Latest
T
Threat Research - Cisco Blogs
量子位
I
Intezer
Simon Willison's Weblog
Simon Willison's Weblog
C
Cybersecurity and Infrastructure Security Agency CISA
L
Lohrmann on Cybersecurity
L
LINUX DO - 最新话题
The Register - Security
The Register - Security
T
Tailwind CSS Blog
爱范儿
爱范儿
Google DeepMind News
Google DeepMind News
T
Troy Hunt's Blog
Stack Overflow Blog
Stack Overflow Blog
Cloudbric
Cloudbric
S
Secure Thoughts
The GitHub Blog
The GitHub Blog
T
The Blog of Author Tim Ferriss
L
LangChain Blog
Recorded Future
Recorded Future
小众软件
小众软件
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Tor Project blog
人人都是产品经理
人人都是产品经理
F
Full Disclosure
O
OpenAI News
Webroot Blog
Webroot Blog
A
Arctic Wolf
TaoSecurity Blog
TaoSecurity Blog
P
Privacy & Cybersecurity Law Blog
Jina AI
Jina AI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
雷峰网
雷峰网
Microsoft Security Blog
Microsoft Security Blog
H
Heimdal Security Blog
B
Blog RSS Feed
Vercel News
Vercel News

博客园 - 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)