galpy.potential.plotEscapecurve

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

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

Parameters:
  • Pot (Potential or a combined potential formed using addition (pot1+pot2+…)) – Potential instance or combination thereof.

  • Rrange (numpy.ndarray or Quantity, optional) – Range in R to consider (can be Quantity).

  • grid (int, optional) – Grid in R.

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

  • *args (dict) – Arguments and keyword arguments for galpy.util.plot.plot.

  • **kwargs (dict) – Arguments and keyword arguments for galpy.util.plot.plot.

Returns:

Plot to output device.

Return type:

matplotlib.AxesSubplot

Notes

  • 2010-08-08 - Written by Bovy (NYU).