Reputation: 5619
I need to create a chart with the system load over a period of time. The main issue is that the data extraction is happening at random intervals so I need to be able to specify the X axis time position for the value. Any suggestion on a package/module with such functionality ?
Sample Data:
data = { '10:20' : 5, '10:28' : 8, '10:30' : 1 }
Upvotes: 1
Views: 110
Reputation: 123662
I'm not sure I understand the problem; any graphing library will let you specify x
coordinates for the points that you plot. Try e.g. matplotlib
.
Upvotes: 1
Reputation: 50981
biggles is a decent Python graphing library. You can use SciPy to interpolate if you need to fill in empty spots on your graph.
Upvotes: 0