def do_3d_scatter(x, y, z, figno=None, title=None):
 fig = pyplot.figure(figno)
 ax = Axes3D(fig)
 ax.scatter(x, y, z)
 ax.set_xlabel('X')
 ax.set_ylabel('Y')
 ax.set_zlabel('Z')
 pyplot.suptitle(title)

def do_3d_scatter ( x , y , z , figno = None , title = None ) : fig = pyplot . figure ( figno ) ax = Axes3D ( fig ) ax . scatter ( x , y , z ) ax . set_xlabel ( 'X' ) ax . set_ylabel ( 'Y' ) ax . set_zlabel ( 'Z' ) pyplot . suptitle ( title )
generate a 3d scatterplot figure and optionally give it a title .