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


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

Re: How to write code for Plotting Polar Coordinates in

Started byMurray Eisenberg <murray@math.umass.edu>
First post2012-07-11 22:24 +0000
Last post2012-07-11 22:24 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#10888 — Re: How to write code for Plotting Polar Coordinates in

FromMurray Eisenberg <murray@math.umass.edu>
Date2012-07-11 22:24 +0000
SubjectRe: How to write code for Plotting Polar Coordinates in
Message-ID<jtkuem$1v$1@smc.vnet.net>
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

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web