João Pinto
João Pinto

Reputation: 5619

Any suggestion on package for drawing 'random intervals' charts?

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

Answers (2)

Katriel
Katriel

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

nmichaels
nmichaels

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

Related Questions