Hi Reju,I'm not completely sure why SlicePlot isn't in your namespace. Can you do the following at the command line:$ yt instinfoand reply with a paste of the result?-NathanOn Fri, Feb 22, 2013 at 10:53 AM, Reju Sam John <rejusamjohn@gmail.com> wrote:
_______________________________________________Hello all,I the following code
from yt.mods import *
pf = load("RD0015/RedshiftOutput0015")
p= SlicePlot(pf,2,'Density','c',(20,'kpc'))
p.save('sliceplot')it is showing an error
Traceback (most recent call last):
File "sliceplot_Density.py", line 3, in <module>
p = SlicePlot(pf,2,'Density','c',(20,'kpc'))
NameError: name 'SlicePlot' is not definedwhat is the reason? is there files we have to import.--Reju Sam John
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org