• R/O
  • SSH

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

File Info

修訂. 5cb1bd8caa8738146a409002975fe3ca0a5c3ebc
大小 281 bytes
時間 2008-11-05 03:44:08
作者 iselllo
Log Message

This code loads and plot an aggregate from one of my simulations.

Content

#! /usr/bin/env python


import numpy as np
from enthought.mayavi import mlab

x, y, z = np.loadtxt('cluster_save.dat').T
# mlab.points3d(x, y, z)
# mlab.show()


mlab.clf()
pts = mlab.points3d(x, y, z, scale_mode='none', resolution=20, color=(0,0,1))
#mlab.axes(pts)

mlab.show()