Mercurial Hosting > traffic-intelligence
changeset 114:680d4c82886d
minor change to the point marker
author | Nicolas Saunier <nico@confins.net> |
---|---|
date | Mon, 18 Jul 2011 19:24:06 -0400 |
parents | 606010d1d9a4 |
children | 550556378466 |
files | python/moving.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/python/moving.py Mon Jul 18 14:29:07 2011 -0400 +++ b/python/moving.py Mon Jul 18 19:24:06 2011 -0400 @@ -135,9 +135,9 @@ def multiply(self, alpha): return Point(self.x*alpha, self.y*alpha) - def draw(self, options = ''): + def draw(self, options = 'o'): from matplotlib.pylab import plot - plot([self.x], [self.y], 'x'+options) + plot([self.x], [self.y], options) def norm2Squared(self): '''2-norm distance (Euclidean distance)'''