• R/O
  • SSH

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Revision5cb1bd8caa8738146a409002975fe3ca0a5c3ebc (tree)
Zeit2008-11-05 03:44:08
Autoriselllo
Commiteriselllo

Log Message

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

Ändern Zusammenfassung

Diff

diff -r ffd4ffdd6989 -r 5cb1bd8caa87 Python-codes/mayavi2_script.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Python-codes/mayavi2_script.py Tue Nov 04 18:44:08 2008 +0000
@@ -0,0 +1,16 @@
1+#! /usr/bin/env python
2+
3+
4+import numpy as np
5+from enthought.mayavi import mlab
6+
7+x, y, z = np.loadtxt('cluster_save.dat').T
8+# mlab.points3d(x, y, z)
9+# mlab.show()
10+
11+
12+mlab.clf()
13+pts = mlab.points3d(x, y, z, scale_mode='none', resolution=20, color=(0,0,1))
14+#mlab.axes(pts)
15+
16+mlab.show()