Answer to Question #261739 in Python for Jake

Question #261739

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....



1
Expert's answer
2021-11-05T19:25:21-0400

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()






Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS