title: plotting stem with a continuous line
body: <p>I need to plot a stem plot of my signal using python and matplotlib.</p>
  
  <p>I saw the example and the code but the line connecting the black big dot and the x-axis is not a continous line. Do you know whether is possible and how to get a straight line instead?</p>
  
  <pre><code>#!/usr/bin/env python
  from pylab import *
  
  x = linspace(0.1, 2*pi, 10)
  markerline, stemlines, baseline = stem(x, cos(x), '-.')
  setp(markerline, 'markerfacecolor', 'b')
  setp(baseline, 'color','r', 'linewidth', 2)
  
  show()
  </code></pre>