Sorry for the long delay. I've been on vacation an offline.
Alex Garbino wrote:
> That does help! I wasn't assigning names to my points, just plotting
> them. Is there a way to add the points to a group, so a whole set can
> be erased at once?
Try the PointSet DrawObject:
MyPoints = Canvas.AddPointSet(coords, Color="red", Diameter=4)
coords is a sequence of coordinates, either a numpy array or anything
that can be turned into one:
( (x1,y1), (x2,y2), ....)
note that you can change properties of objects without deleting and
re-creating them:
MyPoints.SetColor("blue")
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
[EMAIL PROTECTED]
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas