title: Plotting multiple lines from a data frame in R
body: <p>I am building an R function to plot a few lines from a data table, I don't understand why this is not working?</p>
  
  <pre><code>data = read.table(path, header=TRUE);
  plot(data$noop);
  lines(data$noop, col="blue");
  lines(data$plus, col="green");
  </code></pre>
  
  <p>I am reading the data from a file I has which is formatted like this:</p>
  
  <pre><code> noop         plus         mins
   33.3         33.3         33.3
   30.0         40.0         30.0
   25.0         50.0         25.0
  </code></pre>
  
  <p>This is the minimal representation of the dataset, which contains more headers and more data points. So each of the rows of this data set reflects a sample taken at a given time. So my objective is to read this data in from the file, and then plot each column as a series of points connected by lines of different color. </p>
  
  <p>The approach I am using currently is only plotting 1 line, and not multiple lines.</p>