【问题标题】:matplotlib plot numpy array and other things [closed]matplotlib 绘制 numpy 数组和其他东西 [关闭]
【发布时间】:2014-11-23 20:43:01
【问题描述】:

我目前正在编写人工神经网络,并想绘制例如存储为 numpy 数组的网络的权重。 我没有使用 matplotlib 的经验,大量的可能性让我有点困惑。

最好我想每隔一秒左右更新一次绘图,并将 numpy 数组绘制为彩色方块(0 到 1 间隔权重的灰度,其他间隔如 -1 到 1 的彩色)。

除此之外,我还想在图表中绘制一些输出数据(通常是 x/y 整数)。

我怎样才能做到这一点?我需要 matplotlib 中的哪些东西?

有人可以提供一个(简单的)教程吗?

非常感谢:)

【问题讨论】:

    标签: python arrays numpy matplotlib


    【解决方案1】:
    猜你喜欢
    • 2016-01-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-08-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-18
    相关资源
    最近更新 更多