python 画二维、三维点之间的线段实现方法 如下所示:frommpl_toolkits.mplot3dimportaxes3dimportmatplotlib.pyplotasplt#打开画图窗口1,在三维空间中 线段