Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Shade area between two polar curves

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100173] Re: [mg100154] Shade area between two polar curves
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 27 May 2009 04:06:38 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

Show[{
  RegionPlot[
   Sqrt[x^2 + y^2] < 1 + 2 x/Sqrt[x^2 + y^2] &&
    x^2 + y^2 > 4,
   {x, -.5, 3}, {y, -2, 2},
   PlotPoints -> 30],
  PolarPlot[{1 + 2 Cos[t], 2},
   {t, 0, 2 Pi}]},
 PlotRange -> All,
 AspectRatio -> 4/5,
 ImageSize -> 500]


Bob Hanlon

---- Chee Lim Cheung <CheeLC at sp.edu.sg> 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?
--

Bob Hanlon



  • Prev by Date: constants
  • Next by Date: Re: Shade area between two polar curves
  • Previous by thread: Re: Shade area between two polar curves
  • Next by thread: Re: Shade area between two polar curves