Re: fill circle while using circle command
- To: mathgroup at smc.vnet.net
- Subject: [mg74252] Re: fill circle while using circle command
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Thu, 15 Mar 2007 19:07:47 -0500 (EST)
- Organization: The Open University, Milton Keynes, UK
- References: <etb5pe$kfr$1@smc.vnet.net>
Tony Harris wrote:
> Hello,
>
> I sure would appreciate it if someone can tell me how to fill a circle
> while using the Graphics command, "circle".
>
> Here is what I used to generate a circle centered at (2,0) with a radius
> of 1.
> Show[Graphics[Circle[{2, 0}, 1]]];
>
> I tried many things that failed but it looks like it should be easy.
> Thanks to anyone who can assist.
>
> T Harris
Use Disk instead of Circle. For instance,
Show[Graphics[{Red, Disk[{2, 0}, 1]}], AspectRatio -> Automatic];
Regards,
Jean-Marc