<gh_stars>0

# coding: utf-8

# In[1]:


import matplotlib.pyplot as plt


# In[1]:


import matplotlib.pyplot as plt


# In[2]:


x=(2,3)
y=(4,6)
x1=(5,9)
y1=(4,3)
plt.plot(x,y,label='water') # plotting strainht line
plt.plot(x1,y1,label='land')
plt.xlabel('x-axis')
plt.ylabel('y-axix')
plt.xlim(0,10)
plt.ylim(0,10)
plt.grid(color='green')
plt.legend() # to show labels in plots
plt.show()  # to show data graphs


# l=[2,5,8,1,9,3]
# l1=[1,4,9,2,8,6]
# 
# plt.scatter(x,y)
# plt.plot(x,y)
# plt.scatter(l,l1,color='green')
# plt.plot(l,l1)
# 
# plt.xlabel('x-axis')
# plt.ylabel('y-axix')
# plt.xlim(0,10)
# plt.ylim(0,10)
# plt.grid(color='green')
# plt.legend() # to show labels in plots
# plt.show()  # to show data graphs

# Cricket Score

# Cricket Score

# #Cricket Score

# 
# 

# In[3]:


player=['virat','msd','rohit','abd']
player1=['virat1','msd1','rohit1','abd1']
runs=[120,130,90,30]
runs1=[20,30,90,30]


# ##### plt.bar(player,runs)
# plt.bar(player1,runs1)
# plt.xlabel('players')
# plt.ylabel('runs')
# plt.grid(color='green')
# plt.show()

# In[5]:


# search player or policticians from twiitter and use matplotlib in it


# In[2]:


import matplotlib.pyplot as plt


# coding: utf-8

# In[1]:


import matplotlib.pyplot as plt


# In[1]:


import matplotlib.pyplot as plt


# In[2]:


x=(2,3)
y=(4,6)
x1=(5,9)
y1=(4,3)
plt.plot(x,y,label='water') # plotting strainht line
plt.plot(x1,y1,label='land')
plt.xlabel('x-axis')
plt.ylabel('y-axix')
plt.xlim(0,10)
plt.ylim(0,10)
plt.grid(color='green')
plt.legend() # to show labels in plots
plt.show()  # to show data graphs


# l=[2,5,8,1,9,3]
# l1=[1,4,9,2,8,6]
# 
# plt.scatter(x,y)
# plt.plot(x,y)
# plt.scatter(l,l1,color='green')
# plt.plot(l,l1)
# 
# plt.xlabel('x-axis')
# plt.ylabel('y-axix')
# plt.xlim(0,10)
# plt.ylim(0,10)
# plt.grid(color='green')
# plt.legend() # to show labels in plots
# plt.show()  # to show data graphs

# Cricket Score

# Cricket Score

# #Cricket Score

# 
# 

# In[3]:


player=['virat','msd','rohit','abd']
player1=['virat1','msd1','rohit1','abd1']
runs=[120,130,90,30]
runs1=[20,30,90,30]


# ##### plt.bar(player,runs)
# plt.bar(player1,runs1)
# plt.xlabel('players')
# plt.ylabel('runs')
# plt.grid(color='green')
# plt.show()

# In[5]:


# search player or policticians from twiitter and use matplotlib in it


# In[2]:


import matplotlib.pyplot as plt
# coding: utf-8 # In[1]: # In[1]: # In[2]: # plotting strainht line # to show labels in plots # to show data graphs # l=[2,5,8,1,9,3] # l1=[1,4,9,2,8,6] # # plt.scatter(x,y) # plt.plot(x,y) # plt.scatter(l,l1,color='green') # plt.plot(l,l1) # # plt.xlabel('x-axis') # plt.ylabel('y-axix') # plt.xlim(0,10) # plt.ylim(0,10) # plt.grid(color='green') # plt.legend() # to show labels in plots # plt.show()  # to show data graphs # Cricket Score # Cricket Score # #Cricket Score # # # In[3]: # ##### plt.bar(player,runs) # plt.bar(player1,runs1) # plt.xlabel('players') # plt.ylabel('runs') # plt.grid(color='green') # plt.show() # In[5]: # search player or policticians from twiitter and use matplotlib in it # In[2]: