chaoshu的个人博客分享 http://blog.sciencenet.cn/u/chaoshu

博文

Matplotlib画图的正常打开方式

已有 2042 次阅读 2021-3-11 11:27 |个人分类:matplotlib|系统分类:科研笔记

https://www.cnblogs.com/-wenli/p/12854766.html

https://matplotlib.org/stable/gallery/index.html

打开Matplotlib官网,在Examples选择一个自己需要的图形,复制修改!爽的不要不要的!

image.png


plt.annotate(s='', xy=(0,3.5), xytext=(0,-3.5), arrowprops=dict(arrowstyle='<->')) #双向箭头

plt.annotate(s='', xy=(-3.5,0), xytext=(3.5,0), arrowprops=dict(arrowstyle='<->')) #双向箭头




https://blog.sciencenet.cn/blog-858128-1276142.html

上一篇:re --- 正则表达式操作
下一篇:测量机器人变形监测作业的过程
收藏 IP: 171.113.113.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-26 17:06

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部