Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Plotting polar graph[corrected attached pic]' topicStudent Support Forum > General > "Plotting polar graph[corrected attached pic]"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Xavier
10/02/08 2:27pm

Hey,

I don't have any clue about the use of polar coordinates for DensityPlot but you can check this command:

DensityPlot[
Sqrt[Sqrt[x^2 + y^2]]*Sin[ArcCos[x/Sqrt[x^2 + y^2]]], {x, 0,
10}, {y, -7, 7}, ColorFunction -> "TemperatureMap"]

It's basically using cartesian expressions of r and theta. I better use Cos than Tan for the simple reason that Tan involves the inverse of the x coordinate whereas Cos involves the inverse of Sqrt[x^2+y^2]. I let you check ...

For now, I don't have any better solution.
Hope it helps anyway.
Cheers,

Xavier

URL: http://zavou.zxr.fr,

Subject (listing for 'Plotting polar graph[corrected attached pic]')
Author Date Posted
Plotting polar graph[corrected attached pic] Mike 09/26/08 03:56am
Re: Plotting polar graph[corrected attached pic] Xavier 10/02/08 2:27pm
< Previous CommentHelp | Reply To Comment | Reply To Topic