Mathematica PolarPloting by useing Mathematica

  • Thread starter Thread starter Psi-String
  • Start date Start date
  • Tags Tags
    Mathematica
AI Thread Summary
To polar plot the function r = cos(t), the correct command in Mathematica is PolarPlot[Cos[t], {t, 0, 2 Pi}]. A common mistake is adding spaces within the command, which can prevent the graph from displaying correctly. Ensure there are no spaces after "PolarPlot" or elsewhere in the command. For further guidance, refer to the official Mathematica documentation on graphics.
Psi-String
Messages
78
Reaction score
0
If I want to polarplot a function, say, r=cos(t) , what instructions should I type?

I tried this before:

PolarPlot [ Cos[t] , {t, 0, 2 Pi} ]

but it just brought out the same thing!

PolarPlot [ Cos[t] , {t, 0, 2 Pi} ] ,not the graph!

Where did I went wrong?? :confused:
 
Physics news on Phys.org
Don't put a space after PolarPlot (or anywhere else).

Your command line should read: PolarPlot[Cos[t],{t, 0, 2 Pi}]

Ref: http://documents.wolfram.com/mathematica/Add-onsLinks/StandardPackages/Graphics/Graphics.html
 
Last edited by a moderator:

Similar threads

Replies
1
Views
2K
Replies
1
Views
2K
Replies
2
Views
2K
Replies
2
Views
3K
Replies
1
Views
1K
Replies
4
Views
3K
Replies
5
Views
3K
Back
Top