I have some time-series data I want to visualize as 2d plot.
The input is ISO-date-format and value separated by space, one record per line:
2010-10-21 23
2010-10-22 32
etc.
The output should be a nice looking 2d plot. Basic requirements:
- output to a X11 window (as preview) and to a png file
- x-axis has to understand the dates and naturally scale the data, e.g. a gap between 3 days should be three times as long as a gap between 1 day
- should be callable from a script
- nice output and convenient to use
Bonus:
- svg output
I tried gnuplot
and it works - it has some date support:
gnuplot> set xdata time
gnuplot> set timefmt "%Y-%m-%d"
gnuplot> plot "test.dat" using 1:2
But I have some problems with gnuplot:
- with default settings plots look very ugly
- it is difficult to find stuff in the manual - e.g. when plotting points how do I use small filled circles instead of the default '+' sign?
- the gnuplot shell is a pain in the neck - it does not use readline, it is broken, command completion is a joke, I don't know how to enable vi shortcuts - or if they are supported, what about reverse search etc.
Thus my question: What are the alternatives for visualizing time-series data?
Or am I overstating the gnuplot issues?