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

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
人人都是产品经理
人人都是产品经理
IT之家
IT之家
T
The Blog of Author Tim Ferriss
V
V2EX
博客园 - 聂微东
The Cloudflare Blog
Blog — PlanetScale
Blog — PlanetScale
A
About on SuperTechFans
U
Unit 42
Vercel News
Vercel News
L
LangChain Blog
博客园 - 司徒正美
H
Help Net Security
Recent Announcements
Recent Announcements
Recorded Future
Recorded Future
V
Visual Studio Blog
Jina AI
Jina AI
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
Y
Y Combinator Blog
C
Check Point Blog
博客园 - 三生石上(FineUI控件)
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks
The Register - Security
The Register - Security
The GitHub Blog
The GitHub Blog
B
Blog RSS Feed
F
Fortinet All Blogs
B
Blog
G
Google Developers Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
云风的 BLOG
云风的 BLOG
爱范儿
爱范儿
MongoDB | Blog
MongoDB | Blog
F
Full Disclosure
有赞技术团队
有赞技术团队
罗磊的独立博客
博客园_首页
MyScale Blog
MyScale Blog
aimingoo的专栏
aimingoo的专栏
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
N
Netflix TechBlog - Medium
Engineering at Meta
Engineering at Meta
量子位
I
InfoQ
小众软件
小众软件
P
Proofpoint News 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)