Message Boards Message Boards

1
|
7135 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

Order of Polar coordinates

Posted 10 years ago

Is there a reason why CoordinateTransform["Cartesian" -> "Polar", ... ] generates the polar coordinates in the order {Norm,Angle} while ... ListPolarPlot expects the coordinates in the reverse order ?

POSTED BY: Charles B

The priorities and design needs on those two functions are different:

In CoordinateChartData the coordinate systems are right handed. If we use the standard convention for angle orientation then that implies the order {r, theta}.

In PolarPlot we plot radius as a function of angle. ListPolarPlot follows that idea and hence it is natural to use pairs {theta, r[theta]}.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract