Thursday, April 16, 2020

#!/usr/bin/env python
# coding: utf-8

# # Lce 2


# In[1]:


import matplotlib.pyplot as plt


# In[12]:


x = [33,44,55]
y = [55,66,77]

x2 = [77,88,99]
y2 = [86,85,83]

plt.plot(x, y, label="First Line")
plt.plot(x2, y2, label="Second line")
plt.xlabel("important line")
plt.ylabel("graph var")
plt.title("interesting graph\ncheck it out")
plt.legend()
plt.show()

No comments:

Post a Comment