title: How can I plot part of a simple vector?
body: <p>Suppose I've got the following vector and plot it from index 1 to 11:</p>
  
  <pre><code>a = [1 2 5 4 5 4 2 3 7 1 5];
  plot(a);
  </code></pre>
  
  <p>How can I plot only part of this vector? like from index 3 to index 7. I found <a href="https://stackoverflow.com/q/26103811/4122028">this question</a> but couldn't figure out how to use it.</p>