Previous topic

galpy.potential.Potential.phi2deriv

Next topic

galpy.potential.Potential.plotDensity

This Page

galpy.potential.Potential.plot

Potential.plot(t=0.0, rmin=0.0, rmax=1.5, nrs=21, zmin=-0.5, zmax=0.5, nzs=21, ncontours=21, savefilename=None)

NAME:

plot

PURPOSE:

plot the potential

INPUT:

t - time tp plot potential at

rmin - minimum R

rmax - maximum R

nrs - grid in R

zmin - minimum z

zmax - maximum z

nzs - grid in z

ncontours - number of contours

savefilename - save to or restore from this savefile (pickle)

OUTPUT:

plot to output device

HISTORY:

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