galpy.potential.plotlinearPotentials

galpy.potential.plotlinearPotentials(Pot, t=0.0, min=-15.0, max=15, ns=21, savefilename=None)[source]

Plot a combination of potentials

Parameters:
  • Pot (list of linearPotential instance(s)) – The list of potentials to evaluate.

  • t (float or Quantity, optional) – The time at which to evaluate the forces. Default is 0.0.

  • min (float, optional) – Minimum x.

  • max (float, optional) – Maximum x.

  • ns (int, optional) – Grid in x.

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

Return type:

plot to output device

Notes

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