Re: Shade area between two polar curves
- To: mathgroup at smc.vnet.net
- Subject: [mg100165] Re: [mg100154] Shade area between two polar curves
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Wed, 27 May 2009 04:05:09 -0400 (EDT)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200905260911.FAA15960@smc.vnet.net>
- Reply-to: murray at math.umass.edu
In my previous reply to this post, I mistakenly reversed the two items in the argument to Show, which hid the little loop of the limacon. So the example should be rendered as: r[t_] := 1 + 2 Cos[t] Show[{ PolarPlot[{r[t], 2}, {t, 0, 2 Pi}, PlotStyle -> {Directive[Opacity[0.3], Blue], White}] /. Line -> Polygon, PolarPlot[{r[t], 2}, {t, 0, 2 Pi}, PlotStyle -> {Directive[Thick, Blue], Directive[Thick, Red]}] }] Chee Lim Cheung wrote: > Hi All > > I have plotted two graphs using PolarPlot, namely the limacon r=1+2 cos(t) > and the circle r = 2 from t = 0 to t = 2 Pi. and I wish to shade the area > inside the limacon but outside the circle. Can anyone suggest a way to do > it? > > Thanks and Regards > Chee > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305
- References:
- Shade area between two polar curves
- From: Chee Lim Cheung <CheeLC@sp.edu.sg>
- Shade area between two polar curves