galpy.potential.plotPotentials¶
-
galpy.potential.
plotPotentials
(Pot, rmin=0.0, rmax=1.5, nrs=21, zmin=-0.5, zmax=0.5, nzs=21, ncontours=21, savefilename=None, aspect=None, justcontours=False)¶ NAME:
plotPotentialsPURPOSE:
plot a set of potentialsINPUT:
Pot - Potential or list of Potential instances
rmin= minimum R
rmax= maximum R
nrs= grid in R
zmin= minimum z
zmax= maximum z
nzs= grid in z
ncontours= number of contours
justcontours= (False) if True, just plot contours
savefilename= save to or restore from this savefile (pickle)
OUTPUT:
plot to output deviceHISTORY:
2010-07-09 - Written - Bovy (NYU)