Mercurial Hosting > traffic-intelligence
diff python/utils.py @ 116:2bf5b76320c0
moved intersection plotting and added markers for scatter plots
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Mon, 08 Aug 2011 14:47:30 -0400 |
parents | 550556378466 |
children | 74b1fc68d4df |
line wrap: on
line diff
--- a/python/utils.py Sat Jul 23 02:18:16 2011 -0400 +++ b/python/utils.py Mon Aug 08 14:47:30 2011 -0400 @@ -165,10 +165,11 @@ def __init__(self, values): self.values = values - def get(self,i): + def __getitem__(self, i): return self.values[i%len(self.values)] markers = PlottingPropertyValues(['+', '*', ',', '.', 'x', 'D', 's', 'o']) +scatterMarkers = PlottingPropertyValues(['s','o','^','>','v','<','d','p','h','8','+','x']) linestyles = PlottingPropertyValues(['-', '--', '-.', ':'])