galpy.orbit.Orbit.plot3d

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

NAME:

plot3d

PURPOSE:

plot 3D aspects of an Orbit

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

d3= third dimension to plot

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

galpy.util.plot.plot3d args and kwargs

OUTPUT:

plot

HISTORY:

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

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

2010-01-08 - Adapted to 3D - 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 - Adapted for multiple orbits - Bovy (UofT)