streamdf.plotTrack(d1='x', d2='z', interp=True, spread=0, simple=True, *args, **kwargs)[source]

Plot the stream track.

  • d1 (str, optional) – Plot this on the X axis (‘x’,’y’,’z’,’R’,’phi’,’vx’,’vy’,’vz’,’vR’,’vt’,’ll’,’bb’,’dist’,’pmll’,’pmbb’,’vlos’). Default is ‘x’.

  • d2 (str, optional) – Plot this on the Y axis (same list as for d1). Default is ‘z’.

  • interp (bool, optional) – If True, use the interpolated stream track. Default is True.

  • spread (int, optional) – If int > 0, also plot the spread around the track as spread x sigma. Default is 0.

  • simple (bool, optional) – If True, use a simple estimate for the spread in perpendicular angle. Default is _USESIMPLE.

  • *args (tuple) – Arguments passed to galpy.util.plot.plot.

  • **kwargs (dict) – Keyword arguments passed to galpy.util.plot.plot.

Return type:



  • 2013-12-09 - Written - Bovy (IAS)