title: Python - Plotting a graph from an array where the data in the array is from a data file
body: <p>OK, Ive got the array from this code </p>
  
  <pre><code>data = np.genfromtxt("1.dat", skip_header=16, delimiter='\t', dtype=str)
  </code></pre>
  
  <p>which creates an array of the data, but when i try to plot a graph using "data" it doesnt work, do i need to tell the program which are the x and y componants of the array? i thought putting it in an array automatically gave the x and y coordinates to the columns in the array.</p>
  
  <p>ive tried over and over to plot the data, but it keeps saying it can plot it, im assuming because x and y values have not been defined??</p>
  
  <p>once again any help is appreciated</p>