galpy.orbit.Orbit.plot

Orbit.plot(*args, **kwargs)[source]

NAME:

plot

PURPOSE:

plot a previously calculated orbit (with reasonable defaults)

INPUT:

d1= first dimension to plot (‘x’, ‘y’, ‘R’, ‘vR’, ‘vT’, ‘z’, ‘vz’, …); can also be an expression, like ‘R*vR’, or a user-defined function of time (e.g., lambda t: o.R(t) for R)

d2= second dimension to plot; can also be an expression, like ‘R*vR’, or a user-defined function of time (e.g., lambda t: o.R(t) for R)

ro= (Object-wide default) physical scale for distances to use to convert (can be Quantity)

vo= (Object-wide default) physical scale for velocities to use to convert (can be Quantity)

use_physical= use to override Object-wide default for using a physical scale for output

matplotlib.plot inputs+galpy.util.plot.plot inputs

OUTPUT:

sends plot to output device

HISTORY:

2010-07-26 - Written - Bovy (NYU)

2010-09-22 - Adapted to more general framework - Bovy (NYU)

2013-11-29 - added ra,dec kwargs and other derived quantities - Bovy (IAS)

2014-06-11 - Support for plotting in physical coordinates - Bovy (IAS)

2017-11-28 - Allow arbitrary functions of time to be plotted - Bovy (UofT)

2019-04-13 - Edited for multiple Orbits - Bovy (UofT)