Thanks Stephen, that worked. Also, generating halos takes some time. I don't want to run it again and again. Is there a way to directly use HopAnalysis.out to plot hop_circles and hop_particles ? I mean, instead of using... p.modify["hop_particles"](halos, p_size=0.05, max_number=4000, min_size=0, alpha=0.6) Can I use... p.modify["hop_particles"]("HopAnalysis.out", p_size=0.05, max_number=4000, min_size=0, alpha=0.6) I tried it but did not work. I had to generate the halos again. shankar -----Original Message----- From: yt-users-bounces@lists.spacepope.org on behalf of Stephen Skory Sent: Sat 11/28/2009 12:09 PM To: Discussion of the yt analysis package Subject: Re: [yt-users] Hop_particles Shankar,
p.modify["hop_particles"](halos, p_size=1.0, max_number=None, min_size=0, alpha=0.20000000000000001)
try setting 'max_number' to something other than 'None', like the number (or greater) of haloes for which you want the particles plotted. With that, it works for me. _______________________________________________________ sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________ _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org