We have been asked to produce a graph for a hospital chart, for which in that chat, you have a graph of temperature against system time, wherein the user will make an input.
same thing for pressure, respiration and pulse
with ranges of the temperature being 35*C to 41*C
Pressure having range of 120/80 mmHg to 120/139 mm Hg
Pulse rate being 60 beats/min to 180 or 160 beats/min
Respiration being 20 breaths to 60 breaths
it can all be on a different graph sheet...
making it that complex can have the user's name in it
please i need help....
A sample of Temperature against Time graph
from matplotlib import pyplot as plt
import numpy as np
x = np.arange(1, 7, 1)
y = np.arange(35, 41, 1)
plt.plot(x,y)
plt.xlabel("System Time")
plt.ylabel("Temperature")
plt.title('Temperature against system time')
plt.show()
Comments
Leave a comment