Dear Matthew,

Thanks for your reply.

Here is my python code for plotting HMF. (hmf.py)
Also, I tried to write another code to manually plot HMF with differential number density as vertical axis(hmfdndm.py). It seems not bad, but I'm not sure. Is there any systematic way to do that?

Thanks in advance,
Hamed

On Tue, Aug 3, 2021 at 6:56 PM Matthew Turk <matthewturk@gmail.com> wrote:
Hi Hamed,

Can you say how you're constructing the plot?  I believe that you can
likely do this, but having your original code would help to suggest
specific things to do.

On Wed, Jul 21, 2021 at 6:47 AM Hamed Manouchehri Kousha
<hamedmank@gmail.com> wrote:
>
> Hi dear all,
>
> I want to plot a halo mass function, using a simulation's halo catalogue, with differential number density as vertical axis, i.e. "dn/d(logm)".
> But It seems that the only option is cumulative number density.
> Is there any way to do that?
>
> Regards,
> Hamed
>
> _______________________________________________
> yt-users mailing list -- yt-users@python.org
> To unsubscribe send an email to yt-users-leave@python.org
> https://mail.python.org/mailman3/lists/yt-users.python.org/
> Member address: matthewturk@gmail.com
_______________________________________________
yt-users mailing list -- yt-users@python.org
To unsubscribe send an email to yt-users-leave@python.org
https://mail.python.org/mailman3/lists/yt-users.python.org/
Member address: hamed.mank@gmail.com