#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Nov 27 15:27:04 2019

@author: rawabe
"""

import matplotlib.pyplot as plt

x1 = [10,20,30]
y1 = [20,40,10]

plt.plot(x1, y1, label = "line 1")

x2 = [10,20,30]
y2 = [40,10,30]

plt.plot(x2, y2, label = "line 2")
plt.xlabel('x - axis')

plt.ylabel('y - axis')

plt.title('Two or more lines on same plot with suitable legends ')

plt.legend()

plt.show()