title: Plot Command Does Not Show Anything
body: <p>I am new at Matlab and I am trying to plot Y function for every X value. For this, I used below codes. Figure screen opens but there is not anything on the screen.</p>
  
  <pre><code>&gt;&gt; X = [0:0.001:0.04]
  &gt;&gt; for i=1:40
  Y = 6113 * cos(2*pi*200*X(i) + 1508);
  end
  &gt;&gt; plot(Y,X)
  </code></pre>
  
  <p>And I also tryed this.</p>
  
  <pre><code>&gt;&gt; X = [0:0.001:0.04]
  &gt;&gt; for i=1:40
  Y = 6113 * cos(2*pi*200*X(i) + 1508);
  &gt;&gt; plot(Y,X)
  end
  </code></pre>
  
  <p>How can I fix this? Thanks,</p>