Created
February 14, 2015 18:41
-
-
Save joezuntz/72e9905ae5ae3ebb7fab to your computer and use it in GitHub Desktop.
A Short St. Valentine's Day Python Snippet
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
import pylab as pl | |
import numpy as np | |
Z=-1j*np.array([np.exp(1.j*2**i) for i in xrange(100)]) | |
pl.plot(0.5*Z.real, Z.imag, '-', color='#FF69B4') | |
pl.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment