V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
hacunix
V2EX  ›  Python

Python 实时绘制曲线图

  •  
  •   hacunix · 2019-01-08 21:43:35 +08:00 · 6165 次点击
    这是一个创建于 1905 天前的主题,其中的信息可能已经有所发展或是发生改变。

    从下位机( stm32 )串口收到的数据,如何用 python 实时绘制曲线图,该用什么库?

    数据是时间和云台角度的关系,time-pitch。

    求指教一番。

    7 条回复    2019-01-09 09:06:33 +08:00
    AlisaDestiny
        1
    AlisaDestiny  
       2019-01-08 22:06:19 +08:00
    试一试 matplotlib?
    smdbh
        2
    smdbh  
       2019-01-08 22:19:27 +08:00
    那么想写代码么,有的串口自带画图功能,自定义个解析就行了啊。
    具体搜下吧,关键词,uart graph
    SeanChense
        3
    SeanChense  
       2019-01-08 22:27:06 +08:00
    ![]( )

    matplotlib
    xiemanrui
        4
    xiemanrui  
       2019-01-08 22:31:36 +08:00 via Android
    用 highcharts 或者 echarts
    hacunix
        5
    hacunix  
    OP
       2019-01-09 00:51:42 +08:00 via iPhone
    @smdbh 我瞅瞅
    bearqq
        6
    bearqq  
       2019-01-09 08:26:45 +08:00
    matplotlib+1
    加 GUI 用 qt
    XIVN1987
        7
    XIVN1987  
       2019-01-09 09:06:33 +08:00   ❤️ 1
    PyQwt、PyQtGraph、PyQtChart
    PyQt4 的话推荐 PyQwt
    PyQt5 的话推荐 PyQtChart,这个是官方的,而且是 C++写的,,稳定、可靠、执行效率高,,最看好这个,,缺点是资料可能比较少,,
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5303 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 09:22 · PVG 17:22 · LAX 02:22 · JFK 05:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.