|
From: Charlie M. <cw...@gm...> - 2006-08-04 23:24:33
|
On 8/4/06, Daniel Kornhauser <kor...@re...> wrote: > Hi: > > Just stared playing with matplotlib, I want to draw a polygon on top of > an image to select a region of interest in the image. > Does anybody have any example or advice on how to interactively draw a > polygon with the mouse by placing it's vertices's one click at a time ? > Another case that I have would be just to fill a region with a thick > line, searched for a "doodle example" or a "paint example" but could not > find them, any advice would be appreciated too. Look in at the widget examples. There is a new Lasso widget for "doodling" and a RectangleSelector. - Charlie |