> -----Original Message----- > From: andy.hens...@gtri.gatech.edu > [mailto:andy.hens...@gtri.gatech.edu] > Sent: Friday, January 30, 2009 11:46 AM > To: jdh2...@gmail.com > Cc: matplotlib-users@lists.sourceforge.net > Subject: Re: [Matplotlib-users] Plot only inside a disc > > > > > -----Original Message----- > > From: John Hunter [mailto:jdh2...@gmail.com] > > Sent: Friday, January 30, 2009 11:29 AM > > To: Henshaw, Andy > > Cc: matplotlib-users@lists.sourceforge.net > > Subject: Re: [Matplotlib-users] Plot only inside a disc > > > > On Fri, Jan 30, 2009 at 10:27 AM, <andy.hens...@gtri.gatech.edu> > > wrote: > > > > > Hmm ... this doesn't quite give me what I'm looking for. When I do > > that, I get a semitransparent circle that is clipped to a rectangle. > > What I need is a semi-transparent rectangle (with a hole cut out of > the > > middle) that overlays the plot. The attached graphic demonstrates > the > > concept. > > > > It sounds like what you want is a complex path and may not need to > > muck with clipping at all. Take a look at > > > > http://matplotlib.sourceforge.net/examples/api/donut_demo.html >
Thanks, that is working quite well, now. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users