Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10889

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

From Bob Hanlon <hanlonr357@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: How to write code for Plotting Polar Coordinates in r
Date 2012-07-11 22:24 +0000
Message-ID <jtkufl$26$1@smc.vnet.net> (permalink)
References <20120711061622.C3B356839@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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@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
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: How to write code for Plotting Polar Coordinates in r Bob Hanlon <hanlonr357@gmail.com> - 2012-07-11 22:24 +0000

csiph-web