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


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

Re: How to write code for Plotting Polar Coordinates in

From Murray Eisenberg <murray@math.umass.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: How to write code for Plotting Polar Coordinates in
Date 2012-07-11 22:24 +0000
Message-ID <jtkuem$1v$1@smc.vnet.net> (permalink)
References <20120711061622.C3B356839@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


I have no idea what "equation" you're trying to plot. You have two 
equations, one for r and the other for theta. But neither equation makes 
any sense in Mathematica syntax.

Moreover, I cannot make any _mathematical_ sense of what you're trying 
to express with those two equations. Ordinarily, a polar plot involves a 
function r(theta) = some formula involving theta, which is interpreted 
then as describing distance from the pole as a function of angle.

In Mathematica, such a function would take the form

    r[theta_] := expression involving theta

for example:

    r[theta_] := 2 Cos[3 theta]

And then you would use PolarPlot like this:

   PolarPlot[r[theta], {theta, 0, Pi}]

But to begin, you have to explain carefully and precisely, in 
unambiguous language/notation, what you're trying to do.

And then you have to learn elementary Mathematica syntax as well as how 
to use the marvelous and extensive help system (Documentation Center) 
that's built into Mathematica -- which includes many, many examples.


On 7/11/12 2:16 AM, Rahul Chakraborty 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.



-- 
Murray Eisenberg                     murray@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

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


Thread

Re: How to write code for Plotting Polar Coordinates in Murray Eisenberg <murray@math.umass.edu> - 2012-07-11 22:24 +0000

csiph-web