Mathematica 9 is now available
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: [mg100218] Re: Shade area between two polar curves
  • From: dh <dh at metrohm.com>
  • Date: Thu, 28 May 2009 06:49:40 -0400 (EDT)
  • References: <gvhma6$83c$1@smc.vnet.net>


Hi Chee,

try RegionPlot. Remember that Cos[t]=1/Sqrt[1+Tan[t]^2]:

==============================

f[x_, y_] :=

  1 + 2/Sqrt[1 + y^2/x^2] > Sqrt[x^2 + y^2] && Sqrt[x^2 + y^2] > 2



RegionPlot[f[x, y], {x, 0, 3}, {y, -2, 2}]

=================================

Daniel



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

> 




  • Prev by Date: Re: simultaneous equations for chemical speciation
  • Next by Date: Parallel processing
  • Previous by thread: Re: Shade area between two polar curves
  • Next by thread: Re: Re: Shade area between two polar curves