【问题标题】:Glittering blob in 3D matplotlib3D matplotlib 中闪闪发光的 blob
【发布时间】:2020-02-07 18:03:06
【问题描述】:

如何在 3D Python 中制作散点图,同时让其中一个点连续闪烁(亮起和熄灭)?我们可以用 matolotlib.animation 来做吗?

【问题讨论】:

    标签: python matplotlib animation 3d


    【解决方案1】:

    使用 FuncAnimation 您可以做到这一点,跟踪您想要闪烁的点并更改每一帧的颜色,查看https://matplotlib.org/3.1.1/gallery/animation/random_walk.html?highlight=animation 并将所需的内容更改为散点图而不是线条。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-11-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-18
      • 1970-01-01
      相关资源
      最近更新 更多