MathGroup Archive 2008

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

Search the Archive

Re: Filled Polar plots

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85122] Re: Filled Polar plots
  • From: mcmcclur at unca.edu
  • Date: Wed, 30 Jan 2008 05:54:28 -0500 (EST)
  • References: <fnk3hf$ktg$1@smc.vnet.net>

On Jan 28, 3:25 am, Yaroslav Bulatov <yarosla... at gmail.com> wrote:
> What is the recommended way of creating filled polar plots? (assuming
> it forms a closed non-intersecting curve)

While there is currently no Filling option for PolarPlot,
it sure seems like something they might add in the not
so distant future. So, I wouldn't go to too much trouble.
This might work for the time being.

r[phi_] := (Cos[7 phi/4]^8 + Sin[7 phi/4]^4)^(-1/2);
pic = PolarPlot[r[phi], {phi, 0, 2 Pi}];
pic /. {h_Hue, Line[pp_]} -> {{h, Polygon[pp]},
   {Thick, Line[pp]}}

Mark




  • Prev by Date: Re: Tick Mark Customization
  • Next by Date: change number form
  • Previous by thread: RE: Filled Polar plots
  • Next by thread: Re: Filled Polar plots