pynbody.plot.gas.rho_T#
- pynbody.plot.gas.rho_T(sim, rho_units=None, rho_range=None, t_range=None, two_phase='split', **kwargs)[source]#
Plot Temperature vs. Density for the gas particles in the snapshot.
Optional keywords:
rho_units: specify the density units (default is the same units as the current ‘rho’ array)
- t_range: list, array, or tuple
size(t_range)
must be 2. Specifies the temperature range.- rho_range: tuple
size(rho_range)
must be 2. Specifies the density range.
two_phase: if two-phase particles are detected, either plot each phase separately (‘split’), or merge them (‘merge’)
See
hist2d()
for other plotting keyword options