python-数据可视化
http://blog.csdn.net/kevinelstri/article/details/52938604
http://blog.csdn.net/golden1314521/article/details/44700551
1. 矩阵写入文件:
# D is the matrix pxyfile2 = open('/home/pxy7896/Desktop/2/output/sample.txt', 'w') for pxy in range(len(D)): pxyfile2.write(str(D[pxy])) pxyfile2.close()