original_docstring: 
      Reorder coordinates so that 2D xs, ys can be plotted in the plane
      orthogonal to zdir. zdir is normally x, y or z. However, if zdir
      starts with a '-' it is interpreted as a compensation for rotate_axes.
      
docstring: Reorder coordinates so that 2D xs, ys can be plotted in the plane
  orthogonal to zdir. zdir is normally x, y or z. However, if zdir
  starts with a '-' it is interpreted as a compensation for rotate_axes.
docstring_tokens: Reorder coordinates so that 2D xs ys can be plotted in the plane orthogonal to zdir . zdir is normally x y or z . However if zdir starts with a ' - ' it is interpreted as a compensation for rotate_axes .
code: def juggle_axes(xs, ys, zs, zdir):
      """
      Reorder coordinates so that 2D xs, ys can be plotted in the plane
      orthogonal to zdir. zdir is normally x, y or z. However, if zdir
      starts with a '-' it is interpreted as a compensation for rotate_axes.
      """
      if zdir == 'x':
          return zs, xs, ys
      elif zdir == 'y':
          return xs, zs, ys
      elif zdir[0] == '-':
          return rotate_axes(xs, ys, zs, zdir)
      else:
          return xs, ys, zs
code_tokens: def juggle_axes ( xs , ys , zs , zdir ) : if zdir == 'x' : return zs , xs , ys elif zdir == 'y' : return xs , zs , ys elif zdir [ 0 ] == '-' : return rotate_axes ( xs , ys , zs , zdir ) else : return xs , ys , zs
short_docstring: Reorder coordinates so that 2D xs, ys can be plotted in the plane
  orthogonal to zdir.
short_docstring_tokens: Reorder coordinates so that 2D xs ys can be plotted in the plane orthogonal to zdir .
comment: """
      Reorder coordinates so that 2D xs, ys can be plotted in the plane
      orthogonal to zdir. zdir is normally x, y or z. However, if zdir
      starts with a '-' it is interpreted as a compensation for rotate_axes.
      """