pynbody.plot.stars.guo

Contents

pynbody.plot.stars.guo#

pynbody.plot.stars.guo(halo_catalog, clear=False, compare=True, baryfrac=False, filename=False, **kwargs)[source]#

Stellar Mass vs. Halo Mass

Takes a halo catalogue and plots the member stellar masses as a function of halo mass.

Usage:

>>> import pynbody.plot as pp
>>> h = s.halos()
>>> pp.guo(h,marker='+',markerfacecolor='k')

Options:

compare (True): Should comparison line be plotted?

If compare = ‘guo’, Guo+ (2010) plotted instead of Behroozi+ (2013)

baryfrac (False): Should line be drawn for cosmic baryon fraction?

filename (None): name of file to which to save output