title: matplotlib plotting multiple lines in 3D
body: <p>I am trying to plot multiple lines in a 3D plot using matplotlib. I have 6 datasets with x and y values. What I've tried so far was, to give each point in the data sets a z-value. So all points in data set 1 have z=1 all points of data set 2 have z=2 and so on.
  Then I exported them into three files. "X.txt" containing all x-values, "Y.txt" containing all y-values, same for "Z.txt". </p>
  
  <p>Here's the code so far:</p>
  
  <pre><code>        #!/usr/bin/python
          from mpl_toolkits.mplot3d import axes3d
          import matplotlib.pyplot as plt
          import numpy as np
          import pylab
  
          xdata = '/X.txt'
          ydata = '/Y.txt'
          zdata = '/Z.txt'
  
          X = np.loadtxt(xdata)
          Y = np.loadtxt(ydata)
          Z = np.loadtxt(zdata)
  
          fig = plt.figure()
          ax = fig.add_subplot(111, projection='3d')
          ax.plot_wireframe(X,Y,Z)
          plt.show()
  </code></pre>
  
  <p>What I get looks pretty close to what I need. But when using wireframe, the first point and the last point of each dataset are connected. How can I change the colour of the line for each data set and how can I remove the connecting lines between the datasets?</p>
  
  <p>Is there a better plotting style then wireframe?</p>