print "plotting..." import matplotlib.pyplot as plt #fig = plt.figure() #plot_qt(qt) #plot_vertices(vertex_set) #plot_edges(edge_set) #plot_non_manifold_vertices(dc_verts, non_manifold_verts) plot_qt(qt, 'b--') plot_vertices(vertex_set,'b.') #plot_surface(vertex_set,'b.') qt.do_coarsening(3) print vertex_set.__len__() vertex_set = qt.get_dataset() print vertex_set.__len__() plot_qt(qt, 'r') #plot_vertices(vertex_set,'ro') plot_surface(vertex_set,'ro') #plot_edges(edge_set) plt.xlim(xmin = 0, xmax = 8) plt.ylim(ymin = 0, ymax = 8) plt.axis('equal') plt.show()