时间线数据的类似gnuplot的程序 [英] gnuplot-like program for timeline data

查看:107
本文介绍了时间线数据的类似gnuplot的程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个类似于gnuplot的程序来绘制时间线中的数据。

gnuplot-like


  • 在Linux上运行

  • 命令行功能(GUI不会帮助我)

  • 脚本化语法

  • 输出为jpg,png,svg或gif






输出应该是这样的:

  | | | | | 
set5 | ###################### | |
| | | | |
set4 | ###### ####### | ######## |
| | | | |
set3 | ############ | ############# | ##
| | | | |
set2 | ######################### |
| | | | |
set1 | ######### | ### | ##########
| | | | |
---- + ---- + ---- + ---- + ---- + ---- + ---- + ---- + ---- + - -
00:00 00:30 01:00 01:30 02:00






我的最终目标是使用来自预定的基于gawk的脚本的一些数据自动创建时间线图像。我已经探索了一些使用 gnuplot 完成此操作的方法。 Boxxyerrorbar阴谋看起来很有希望,或者可能是带有一些透明部分的堆叠条形图,甚至是热图图类型都可以工作。

但在我进一步深入挖掘我的需求之前,我想知道是否有其他人知道其他有用的东西那可行。

R 还有 matplotlib ,它有 tons 的图表可能性。

另外我更喜欢matplotlib,因为它是建立在python上的,python是一个非常完善的记录脚本语言。



如果您在使用matlab之前会发现matplotlib非常容易学习,因为它使用matlab方式绘制东西后将其API定向。


I am looking for a gnuplot-like program for charting data in a timeline.

gnuplot-like ==

  • Runs on Linux
  • command line functionality (a GUI isn't going to help me much)
  • scriptable syntax
  • outputs to jpg, png, svg, or gif

The output should be something like this:

    |         |         |         |         |
set5|######################       |         |
    |         |         |         |         |
set4|      ######     #######     | ########|
    |         |         |         |         | 
set3|############       |#############      |##
    |         |         |         |         |
set2|         #########################     |
    |         |         |         |         |
set1|   #########       |###      |##########
    |         |         |         |         |
----+----+----+----+----+----+----+----+----+--
  00:00     00:30     01:00     01:30     02:00


My end goal is to automate the time line image creation using some data from scheduled gawk-based scripts. I've explored some ways to do this with gnuplot. The Boxxyerrorbar plot looks promising, or possibly a stacked bar chart with some transparent sections, or even a heat map type plot could work.

But before I dive any further into forcing my requirements through a gnuplot shaped hole, I wanted to see if anyone else knows of anything useful else that will work.

解决方案

Along with R there is also matplotlib that has tons of charting possibilities.

Also I prefer matplotlib because it builds on python which is a very well developed and documented scripting language.

If you have used matlab before you will find matplotlib very easy to learn since it orients its API after the matlab way of plotting stuff.

这篇关于时间线数据的类似gnuplot的程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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