Skip to content

Instantly share code, notes, and snippets.

View tanzeel-bhatti's full-sized avatar

Tanzeel Ur Rahman tanzeel-bhatti

  • Afiniti
  • Pakistan
View GitHub Profile
@tanzeel-bhatti
tanzeel-bhatti / process3dGraph.py
Last active January 1, 2020 17:25 — forked from meganehouser/process3dGraph.py
This is a script which draws the amount of CPU used and memory usage of a process to a 3D graph.
#coding:utf-8
import psutil
from mpl_toolkits.mplot3d import Axes3D
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.animation as animation
TIME_NUM = 90
FRAMES = 360