distance3d.plotting.plot_segment¶
- distance3d.plotting.plot_segment(ax, segment_start, segment_end, alpha=1.0, c=None, lw=2)[source]¶
Plot line.
- Parameters:
- axMatplotlib 3d axis
A matplotlib 3d axis.
- segment_startarray, shape (3,)
Start point of segment.
- segment_endarray, shape (3,)
End point of segment.
- alphafloat, optional (default: 1)
Alpha for line and points.
- cstr, optional (default: None)
Color.
- lwint
Line width.