Source

2012-issac-yt / slice_plot.py

1
2
3
4
from yt.mods import *
pf = load('galaxy0030/galaxy0030')
p = SlicePlot(pf, 2, 'Density', 'c', (200,'kpc'))
p.save('Galaxy')