MathGroup Archive 2012

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

Search the Archive

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


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 ?