title: How to make multiple plots in r?
body: <p>I have a large matrix <code>mdat</code> (1000 rows and 16 columns) contains first column as <code>x</code> variable and other columns as <code>y</code> variables. What I want to do is to make scatter plot in R having 15 figures on the same window. For example:</p>
  
  <pre><code>mdat &lt;- matrix(c(1:50), nrow = 10, ncol=5)
  </code></pre>
  
  <p>In the above matrix, I have 10 rows and 5 columns. Is it possible that to use  the first column as variable on x axes and other columns as variable on y axes, so that I have four different scatterplots on the same window? Keep in mind that I will <strong><em>not</em></strong> prefer <code>par(mfrow=</code>, because in that case I have to run each graph and then produce them on same window. What I need is a package so that I will give it just data and <code>x</code>, <code>y</code> varaibeles, and have graphs on same windows.
  Is there some package available that can do this? I cannot find one.</p>