Created
May 4, 2020 05:11
-
-
Save abhishek-shrm/3d13d87351b6f511a2e66ddcceaae04a 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
fig,axes=plt.subplots(2,2,figsize=(16,8)) | |
axes[0][0].plot(X,[x-(x*random.random()) for x in X]) | |
axes[0][0].set_title('Plot 1') | |
axes[0][1].plot(X,[x+(x*random.random()) for x in X]) | |
axes[0][1].set_title('Plot 2') | |
axes[1][0].plot(X,[x-(x*random.random()) for x in X]) | |
axes[1][0].set_title('Plot 3') | |
axes[1][1].plot(X,[x+(x*random.random()) for x in X]) | |
axes[1][1].set_title('Plot 4') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment