2 Density map (example02.py)

from Nbody import *
import RandomArray

'''
display the surface density of a disk with isocontours
'''
 
nb = Nbody('disk.dat') 
nb.show(x0=[0,1e-6,100],xp=[0,0,0],
size=(35,35),
filter_name='convol',filter_opts=[10,10,3,3],
scale='log',mn=0,mx=0.0008,
l_n=15,l_min=0,l_max=0.0001,l_color=1,palette='rainbow4')

See About this document... for information on suggesting changes.