galpy.potential.plotRotcurve

galpy.potential.plotRotcurve(Pot, *args, **kwargs)[source]

Plot the rotation curve for this potential (in the z=0 plane for non-spherical potentials).

Parameters:
  • Pot (Potential or list of Potential instances) – Potential instance or list of such instances.

  • Rrange (numpy.ndarray or Quantity) – Range in R to consider (needs to be in the units that you are plotting).

  • grid (int, optional) – Number of grid points in R.

  • phi (float or Quantity, optional) – Azimuth to use for non-axisymmetric potentials.

  • savefilename (str, optional) – Save to or restore from this savefile (pickle).

  • *args – Arguments passed to galpy.util.plot.plot.

  • **kwargs – Keyword arguments passed to galpy.util.plot.plot.

Returns:

Axes on which the plot was drawn.

Return type:

matplotlib.Axes

Notes

  • 2010-07-10 - Written - Bovy (NYU)

  • 2016-06-15 - Added phi= keyword for non-axisymmetric potential - Bovy (UofT)