Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: How to write code for Plotting Polar Coordinates in r

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127259] Re: How to write code for Plotting Polar Coordinates in r
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Wed, 11 Jul 2012 18:23:12 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <20120711061622.C3B356839@smc.vnet.net>

I do not understand your equations.  r should be a function of theta
and if theta were a single value (e.g., 1) there would be only a
single point. Also, what is the ^.= in the equations?

Clear[r]

r[theta_] = theta (1 - theta^2);

PolarPlot[r[theta], {theta, -1, 1}]

PolarPlot[r[theta], {theta, -1, 1},
 PlotStyle -> Red,
 PolarAxes -> Automatic,
 PolarGridLines -> {
   Range[0, 2 Pi, Pi/4],
   Range[0.1, 0.3, 0.1]},
 PolarTicks -> {"Degrees", Automatic},
 GridLinesStyle -> LightGray]


Bob Hanlon


On Wed, Jul 11, 2012 at 2:16 AM, Rahul Chakraborty
<rahul.6sept at gmail.com> wrote:
> Dear All,
>
>  Kindly guide me regarding how to have polar plot in mathematica.
>
>  I have gone through function PolarPlot in virtual book but unable to
> get my syntax correctly for the following eqn:
>
>
>                      r^.=r(1-r^2)
>
>                     \[Theta]^.=1
>
>
> Please guide.
>
>
> Regards,
>
> Rahul
>



  • Prev by Date: Re: How to write code for Plotting Polar Coordinates in
  • Next by Date: Re: Sending an interrupt to the frontend?
  • Previous by thread: Re: How to write code for Plotting Polar Coordinates in
  • Next by thread: Re: How to write code for Plotting Polar Coordinates in r and theta ?