Answers for "more plot matplotlib"

3

multiple plot in one figure python

import matplotlib.pyplot as plt

plt.plot(<X AXIS VALUES HERE>, <Y AXIS VALUES HERE>, 'line type', label='label here')
plt.plot(<X AXIS VALUES HERE>, <Y AXIS VALUES HERE>, 'line type', label='label here')
plt.legend(loc='best')
plt.show()
Posted by: Guest on May-07-2020
0

plot multiple figures in matplot lib

plt.figure(1)
Posted by: Guest on March-24-2022

Python Answers by Framework

Browse Popular Code Answers by Language