[yt-users] phase plot

Yi Feng yfen12 at ucsc.edu
Mon Feb 3 16:28:17 PST 2014


Hi,
I am using the following to get a phase plot:
from yt.mods import *
pf1 = load("data.0070.3d.hdf5")
my_sphere = pf1.h.sphere("c", (10.0, "pc"))
plot = PhasePlot(my_sphere, "tracerdensity", "tracerratio", "CellMassMsun",
                 weight_field=None)
plot.save("phase.png")

But it says:
NameError: name 'PhasePlot' is not defined

What is wrong?
Thanks!

-- 
Sincerely
Yi Feng
Department of Astronomy&Astrophysics,UC Santa Cruz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140204/66b60d97/attachment.htm>


More information about the yt-users mailing list