MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / plane

Function plane

lib/matplotlib/tests/test_colors.py:1141–1149  ·  view source on GitHub ↗

Create a plane whose normal vector is at the given azimuth and elevation.

(azimuth, elevation, x, y)

Source from the content-addressed store, hash-verified

1139 """
1140
1141 def plane(azimuth, elevation, x, y):
1142 """
1143 Create a plane whose normal vector is at the given azimuth and
1144 elevation.
1145 """
1146 theta, phi = _azimuth2math(azimuth, elevation)
1147 a, b, c = _sph2cart(theta, phi)
1148 z = -(a*x + b*y) / c
1149 return z
1150
1151 def angled_plane(azimuth, elevation, angle, x, y):
1152 """

Callers 1

angled_planeFunction · 0.85

Calls 2

_azimuth2mathFunction · 0.85
_sph2cartFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…