Greg_Deckler's avatar
Greg_Deckler
Icon for Community Champion rankCommunity Champion
8 years ago

Polar to Cartesian

Perhaps more useful as columns than measures, these two quick measures translate polar coordinates to Cartesian coordinates. These measures take 2 inputs, r and theta, which are a point's definition in polar coordinates. The return is the x value in Cartesian coordinates from polar2x and the y value in Cartesian coordinates from polar2y. These allow one to take an equation defined with a polar equation and graph it in Cartesian coordinates, which is kind of handy for producing the visuals shown. Might also be handy to pick an aggregation.

 

polar2x = MAX([r])*COS(MAX([theta]))

 

polar2y = MAX([r])*SIN(MAX([theta]))

No RepliesBe the first to reply