galpy.potential.plotplanarPotentials¶
- galpy.potential.plotplanarPotentials(Pot, *args, **kwargs)[source]¶
Plot a planar potential.
- Parameters:
Pot (Potential or list of Potential instances) – Potential or list of potentials to plot
Rrange (list or Quantity, optional) – Range in R to plot (default is [0.01, 5.0])
xrange (list, optional) – Range in x and y to plot (can be Quantity) (default is [-5.0, 5.0])
yrange (list, optional) – Range in x and y to plot (can be Quantity) (default is [-5.0, 5.0])
grid (int, optional) – Number of points to plot (default is 100). grid for 1D plots, gridx and gridy for 2D plots
gridx (int, optional) – Number of points to plot (default is 100). grid for 1D plots, gridx and gridy for 2D plots
gridy (int, optional) – Number of points to plot (default is 100). grid for 1D plots, gridx and gridy for 2D plots
savefilename (str, optional) – Save to or restore from this savefile (pickle)
ncontours (int, optional) – Number of contours to plot (if applicable)
*args – Arguments and keyword arguments for galpy.util.plot.plot or galpy.util.plot.dens2d
**kwargs – Arguments and keyword arguments for galpy.util.plot.plot or galpy.util.plot.dens2d
- Return type:
plot to output device
Notes
2010-07-13 - Written - Bovy (NYU)