In fact, I would like to draw other stem plots each at different offset.

Ex:
-+----_-----_--+-----_---

-+----_---+-_--+--_-----

-+--+-----_------+-----_-


I also found vlines but I have the same problem I don't know how to add a
horizontal offset to the values.
Ex:
import numpy
from matplotlib import pyplot
x = numpy.arange(10)
y = numpy.random.random(10)-0.5
pyplot.vlines(x, 0, y, color='red', bottom=2) # Stems
pyplot.plot(x, y, 'D')  # Stem ends
pyplot.plot([x.min(), x.max()], [0, 0], '--') # Middle bar
pyplot.grid(True)
pyplot.show()

ssinfod




--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/stem-plot-with-horizontal-offset-BaseValue-tp45297p45300.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to