Created
July 15, 2009 03:07
-
-
Save ericmjonas/147412 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
from numpy import * | |
import matplotlib | |
import matplotlib.pyplot as plt | |
num_lines = 3 | |
for n in range(0, num_lines): | |
print "Printing line %d" %(n+1) | |
x = range(0, 100) | |
y = (ones(100)*(n+1)) | |
plt.plot(x, y) | |
plt.axis([0, 100, 0.5, 3.5]) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment