MathGroup Archive 2010

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

Search the Archive

Re: Shading in polar plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107878] Re: [mg107857] Shading in polar plot
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Mon, 1 Mar 2010 08:05:28 -0500 (EST)
  • Reply-to: hanlonr at cox.net

Show[
 PolarPlot[{
   Sqrt[3],
   Sqrt[6 Cos[2 t]]},
  {t, 0, 2 Pi}],
 RegionPlot[
  x^2 + y^2 > 3 &&
   x^2 + y^2 < 6 Cos[2 ArcTan[x, y]],
  {x, -2.5, 2.5},
  {y, -1.75, 1.75}]]


Bob Hanlon

---- Jon Joseph <josco.jon at gmail.com> wrote: 

=============
All: I would like to shade the area outside of the circle Sqrt[3] and 
inside the lemniscate r^2=6Cos[2 t]. Can this be done using PolarPlot 
and mesh functions or is something else needed?

PolarPlot[{Sqrt[3], Sqrt[6 Cos[2 t]], -Sqrt[6 Cos[2 t]]}, {t, 0, 2 Pi}]

Shows the curves without the shading. Jon



  • Prev by Date: Re: Writing an equation in terms of r, a and b
  • Next by Date: NDSove::berr error
  • Previous by thread: Shading in polar plot
  • Next by thread: Re: Shading in polar plot