Python Forum
Graphing process execution time
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Graphing process execution time
#1
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?
Reply
#2
Mathplotlib
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#3
(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?
Reply
#4
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.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#5
FYI I lost patience, took this thread https://stackoverflow.com/questions/4148...ncytextbox
and wrote my own code based on it to calculate positions.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Forcing matplotlib to NOT use scientific notation when graphing sawtooth500 4 339 Mar-25-2024, 03:00 AM
Last Post: sawtooth500
  How to measure execution time of a multithread loop spacedog 2 2,860 Apr-24-2021, 07:52 AM
Last Post: spacedog
  graphing inequalities Dasiey12 0 3,458 Mar-30-2021, 01:47 AM
Last Post: Dasiey12
  PyCharm Script Execution Time? muzikman 3 8,421 Dec-14-2020, 11:22 PM
Last Post: muzikman
  Code taking too much time to process ErPipex 11 4,896 Nov-16-2020, 09:42 AM
Last Post: DeaD_EyE
  How to to tie the execution of one process to another inside a loop in Python ignorant_wanderer 0 2,039 Jul-11-2020, 03:44 AM
Last Post: ignorant_wanderer
  kill thread or process asap, even during time.sleep nanok66 4 2,925 Apr-29-2020, 10:13 AM
Last Post: nanok66
  Help Graphing Arduino Data Real Time in Python nschulz 0 2,531 Mar-12-2020, 06:15 PM
Last Post: nschulz
  Matplotlib graphing help (dual y axis, groupby, filter) keml 0 2,188 Feb-07-2020, 02:35 AM
Last Post: keml
  Process execution using Popen Shaswat 2 2,112 Dec-03-2019, 05:22 AM
Last Post: Shaswat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020