title: horizontally shift starting point for stem() in MatLab
body: <p>I have a sequence with data and an offset. I'm asked to plot a stem() graph of the data, starting at the offset. I have figured out the data part (the easy part) and how to change the window to include the offset, but when I plot the graph, it shows the offset with a value of zero and zeros until 1 where the sequence.data will start and plot points.</p>
  
  <pre><code>methods
      function s = sequence(data, offset)
          s.data = data;
          s.offset = offset;
      end
  function stem(x)
          % STEM Display a Matlab sequence, x, using a stem plot.
          stem(x.offset,x.data);
          axis([x.offset x.offset+length(x.data) 'auto' 'auto']);
  
      end
  </code></pre>
  
  <p>I need to figure out how to "move" my x.data to my x.offset and start stem plotting there.</p>