On 8/4/06, Daniel Kornhauser <[EMAIL PROTECTED]> 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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to