Re: [Matplotlib-users] Plot only inside a disc

2009-01-30 Thread Andy.Henshaw
> -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 > > > > > -Origina

Re: [Matplotlib-users] Plot only inside a disc

2009-01-30 Thread Andy.Henshaw
> -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, > wrote: > > > H

Re: [Matplotlib-users] Plot only inside a disc

2009-01-30 Thread Andy.Henshaw
>>[Christophe] Thanks, your example works but what I must do so to plot for >>example y=cos x >> ? I'm a very beginner. > > line, = ax.plot(x, np.cos(x)) > patch = patches.Circle((300,300), radius=100) > line.set_clip_path(patch) > >Everything in the matplotlib figure is an "Artist" (lines, im

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread Andy.Henshaw
[EMAIL PROTECTED] wrote >> >> On Fri, 11 May 2007, [EMAIL PROTECTED] apparently wrote: >> > All I want is to: a) Insert all of the plots I create with MPL onto >> > a Word document. >> >> This part should be achievable with PNG. >> Just set the figsize. >> I have not had problems... >> > >Corr