title: Plot a line graph, error in xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differ
body: <pre><code>a&lt;- c(2,2)
  b&lt;- c(3,4)
  plot(a,b) # It works perfectly here
  </code></pre>
  
  <p>Then I tried: </p>
  
  <pre><code>t&lt;-xy.coords(a,b)
  plot(t) # It also works well here
  </code></pre>
  
  <p>Finally, I tried: </p>
  
  <pre><code>plot(t,1)
  </code></pre>
  
  <p>Now it shows me: </p>
  
  <blockquote>
    <p>Error in xy.coords(x, y, xlabel, ylabel, log) : 
          'x' and 'y' lengths differ</p>
  </blockquote>
  
  <p>It does not work, inside t, <strong>both a and b are of length 2</strong>, why it showing me <strong>x, y lengths differ?</strong></p>