distance3d.plotting.plot_plane

distance3d.plotting.plot_plane(ax, plane_point, plane_normal, s=1.0, surface_alpha=0.1, color='b')[source]

Plot rectangle.

Parameters:
axMatplotlib 3d axis

A matplotlib 3d axis.

plane_pointarray, shape (3,)

Point on the plane.

plane_normalarray, shape (3,)

Normal of the plane. We assume unit length.

sfloat, optional (default: 1)

Scaling of the plane that will be drawn.

surface_alphafloat, optional (default: 0.1)

Alpha value of the rectangle surface.

colorstr

Color of faces.