pynbody.plot.profile.rotation_curve

Contents

pynbody.plot.profile.rotation_curve#

pynbody.plot.profile.rotation_curve(sim, center=True, r_units='kpc', v_units='km s^-1', disk_height='100 pc', nbins=50, bin_spacing='equaln', clear=True, quick=False, filename=None, min=False, max=False, yrange=False, legend=False, parts=False, axes=False, **kwargs)[source]#

Centre on potential minimum, align so that the disk is in the x-y plane, then use the potential in that plane to generate and plot a rotation curve.

needs documentation/description of the keyword arguments