MCPcopy Create free account
hub / github.com/plotly/plotly.js / ra2xy

Function ra2xy

src/plots/polar/polar.js:872–874  ·  view source on GitHub ↗
(r, a)

Source from the content-addressed store, hash-verified

870 }
871
872 function ra2xy(r, a) {
873 return [r * Math.cos(a), r * Math.sin(-a)];
874 }
875
876 function pathCorner(r, a) {
877 if(r === 0) return _this.pathSector(2 * chw);

Callers 2

pathCornerFunction · 0.85
pathCornerForPolygonsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…