|
|
| There's more than one way to do things | |
| PerlMonks |
Re^2: Create a plot / chart with dates as x-values?by Anonymous Monk |
| on Jan 02, 2013 at 17:30 UTC ( #1011321=note: print w/ replies, xml ) | Need Help?? |
|
Hm... I've gotten this to sort-of work, but the x-data is not spaced properly (the dates are not all equidistant, but are shown as such on the plot). In fact, the docs say as much: "First of all: GD::Graph does not support numerical x axis the way it should. Data for X axes should be equally spaced. That understood: There is some support to make the printing of graphs with numerical X axis values a bit better, thanks to Scott Prahl." Here's the code:
Will do some experimenting with gnuplot to see what I can get.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||