points is a Nx3 numpy array
(points, output_filename)
| 190 | |
| 191 | |
| 192 | def pyplot_draw_point_cloud(points, output_filename): |
| 193 | """ points is a Nx3 numpy array """ |
| 194 | fig = plt.figure() |
| 195 | ax = fig.add_subplot(111, projection='3d') |
| 196 | ax.scatter(points[:, 0], points[:, 1], points[:, 2]) |
| 197 | ax.set_xlabel('x') |
| 198 | ax.set_ylabel('y') |
| 199 | ax.set_zlabel('z') |
| 200 | # savefig(output_filename) |
| 201 | |
| 202 | |
| 203 | def pyplot_draw_volume(vol, output_filename): |
no outgoing calls
no test coverage detected