title: plotting multiple graph from a csv file and output to a single pdf/svg
body: <p>I have some csv data in the following format.</p>
  
  <pre><code>Ln    Dr    Tag Lab    0:01    0:02    0:03    0:04    0:05    0:06    0:07    0:08   0:09
  L0   St     vT  4R       0       0       0       0       0      0        0       0      0
  L2   Tx     st  4R       8       8       8       8       8      8        8       8      8
  L2   Tx     ss  4R       1       1       9       6       1      0        0       6      7
  </code></pre>
  
  <p>I want to plot a timeseries graph using the columns (<code>Ln</code> , <code>Dr</code>, <code>Tg</code>,<code>Lab</code>) as the keys and the <code>0:0n</code> field as values on a timeseries graph.</p>
  
  <p>I have the following code.</p>
  
  <pre><code>import pandas as pd
  import matplotlib.pyplot as plt
  import numpy as np
  
  plt.ylabel('time')
  plt.xlabel('events')
  
  plt.grid(True)
  plt.xlim((0,150))
  plt.ylim((0,200))
  
  a=pd.read_csv('yourfile.txt',delim_whitespace=True)
  for x in a.iterrows():
      x[1][4:].plot(label=str(x[1][0])+str(x[1][1])+str(x[1][2])+str(x[1][3]))
  
  plt.legend()
  fig.savefig('test.pdf')
  </code></pre>
  
  <p>I have only shown a subset of my data here. I have around 200 entries (200 rows) in my full data set. the above code plots all graphs in a single figure. I would prefer each row to be plotted in a separate graph.</p>