gnuplot 与 Matplotlib [英] gnuplot vs Matplotlib

查看:57
本文介绍了gnuplot 与 Matplotlib的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开始了一个项目,使用 gnuplot-py,专门将特定请求与内存分配和垃圾收集相关联.是什么关于 Python 图形的 gnuplot-py 与 Matplotlib 的集体智慧.有没有我没听说过的更好的图形库?

I've started on a project graphing Tomcat logs using gnuplot-py, specifically correlating particular requests with memory allocation and garbage collection. What is the collective wisdom on gnuplot-py vs Matplotlib for Python graphing. Are there better graphing libraries out there I haven't heard of?

我的一般考虑是:

  • 虽然 gnuplot 有大量文档,但 gnuplot-py 没有.Matplotlib 的文档社区有多好?
  • 是否有 gnuplot 可以做而 gnuplot-py 不能做的事情?
  • Matplotlib 是否有更好的 Python 支持?
  • 是否有大型节目阻止错误?烦恼?
  • 目前 gnuplot 正在绘制 100,000 个点,我计划将其扩展到数百万个.我应该期待问题吗?Matplotlib 处理得如何?
  • gnuplot 与 Matplotlib 的易用性、周转时间?
  • 将现有的 gnuplot-py 代码移植到 Matplotlib 有多容易?

您将如何处理这项任务?

How would you approach this task?

推荐答案

  • 您可以自己查看matplotlib 的文档.我觉得它很全面.
  • 我对 gnuplot-py 的经验很少,所以我不能说它是否可以完成 gnuplot 的所有功能.
  • Matplotlib 是专门为 Python 编写和设计的,因此它非常适合 Python 习语等.
  • Matplotlib 是一个成熟的项目.NASA 用它做一些事情.
  • 我已经在 Matplotlib 中绘制了数千万个点,它看起来仍然很漂亮,响应也很快.
  • 除了使用 Matplotlib 的面向对象方式之外,还有 pylab 界面,它使绘图像在 MATLAB 中一样简单——也就是说,非常容易.
  • 至于从 gnuplot-py 移植到 matplotlib,我不知道.
  • 这篇关于gnuplot 与 Matplotlib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆