Python Forum

Full Version: Graphing process execution time
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a bunch of process execution times that I'd like to graph (starting and ending time).
Something like this:
[Image: Untitled2_zpssoqjfaso.png]

What tool can I use for this and what functionality would I have to use for making the rectangles, placing words in them and showing the starting time?
(Nov-15-2017, 06:30 AM)wavic Wrote: [ -> ]Mathplotlib

Matplotlib is quite a large library. Do you know any specific sections that might help me?
I don't know since I have never used it. I just know its capabilities. You have two-dimensional data. Timestamp and process ID/name. So the basic usage of the library should cover your needs. You can start from here and here. Also, there is a huge number of examples.
FYI I lost patience, took this thread https://stackoverflow.com/questions/4148...ncytextbox
and wrote my own code based on it to calculate positions.