Created
May 4, 2020 05:09
-
-
Save abhishek-shrm/3322363b498b96c53de0ebb69f7f7abe 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=plt.figure(figsize=(16,6)) | |
ax1=plt.subplot(1,2,1) | |
ax1.plot(X,[x+(x*random.random()) for x in X]) | |
ax1.set_title('Plot 1') | |
ax2=plt.subplot(1,2,2) | |
ax2.plot(X,[x-(x*random.random()) for x in X]) | |
ax2.set_title('Plot 2') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment