MCPcopy Create free account
hub / github.com/d62lu/3DCTN / pyplot_draw_point_cloud

Function pyplot_draw_point_cloud

visualizer/pc_utils.py:192–200  ·  view source on GitHub ↗

points is a Nx3 numpy array

(points, output_filename)

Source from the content-addressed store, hash-verified

190
191
192def 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
203def pyplot_draw_volume(vol, output_filename):

Callers 1

pyplot_draw_volumeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected