Created
May 4, 2020 05:05
-
-
Save abhishek-shrm/5cb5a183f38311f5fa51b2a90632ee71 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# importing libraries | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib | |
import random | |
# plotting plot | |
fig=plt.figure(figsize=(5,8)) | |
X=list(range(10)) | |
Y=[x+(x*random.random()) for x in X] | |
plt.plot(X,Y) | |
plt.title('Line Plot') | |
plt.xlabel('x-axis') | |
plt.ylabel('y-axis') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment