![](https://secure.gravatar.com/avatar/4bc5fbe7a7d934d16c9ac5c03d816714.jpg?s=120&d=mm&r=g)
26 Oct
2010
26 Oct
'10
12:39 a.m.
I believe you can use the field "Dark_Matter_Density" with add_profile_sphere, i.e.: pc.add_profile_sphere(25.0, "kpc",["RadiusMpc", "Dark_Matter_Density"], x_bounds = (4e-4, 0.025)) Christine On Mon, 2010-10-25 at 20:27 -0400, Elizabeth Tasker wrote:
Hi,
I'd like to plot dark matter particle density as a function of radius for my particle-only simulation. Can I use add_profile_sphere, but for particles rather than gas? I only have a single halo and I know the halo it's centred in the middle of my box (or it better be, since I put it there!).
Is this possible?
Thanks,
Elizabeth _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org