galpy.potential.linearPotential.plot

linearPotential.plot(t=0.0, min=-15.0, max=15, ns=21, savefilename=None)[source]

Plot the potential

Parameters:
  • 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)