j: Next unread message
k: Previous unread message
j a: Jump to all threads
j l: Jump to MailingList overview
I guess the question is sort of ill-defined. Dark matter is discretized as particles; the idea of projecting dark matter is not the same as projecting a field quantity. The same goes for plotting slices.
However, you can make dark matter plots. You cna use the "add_particles" method on the PlotCollection, which accepts an axis and a width -- what it does is plot all the particles within that rectangular prism. This can be mocked up as a projection by setting the width equal to the domain width along that axis.
You can also try using "Dark_Matter_Density", which might be easier to visualize, as a projection or a slice.
If you run into any problems with the particle plot, let us know -- it's not as well-used as the other plots, so there might be subtle bugs. :)
On Mon, Mar 22, 2010 at 9:27 AM, Agarwal, Shankar email@example.com wrote:
The projection, slice, velocity and overplot particles routines: They read the DM particles or gas ?
Looking at the density legend, it looks like this is baryon density field.
Is there a provision to plot projection and slice for DM ?
Also, I get this error when overplotting particles...
yt INFO 2010-03-22 12:17:44,051 Created plot collection with default plot-center = [0.5, 0.5, 0.5] yt INFO 2010-03-22 12:17:44,144 Getting the binary hierarchy yt INFO 2010-03-22 12:17:44,153 Finished with binary hierarchy reading yt INFO 2010-03-22 12:17:46,108 Added slice of Density at x = 0.5 with 'center' = [0.5, 0.5, 0.5] Traceback (most recent call last): File "slice.py", line 42, in <module> p.modify"nparticles" File "/autohome/u118/agarwa23/yt-x86_64/src/yt-1.6/yt/raven/PlotTypes.py", line 52, in __getitem__ raise KeyError(item) KeyError: 'nparticles'
yt-users mailing list firstname.lastname@example.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org