Message Boards Message Boards


Order of Polar coordinates

Posted 9 years ago
1 Reply
1 Total Likes

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
or Discard

Group Abstract Group Abstract