x27;,'r', 'linewidth', 2)
show()
Thanks for your inputs.
ssinfod
--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/stem-plot-with-horizontal-offset-BaseValue-tp45297p45327.ht
otlib 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
--
s.com/help/matlab/ref/stemseries-properties.html
http://stackoverflow.com/questions/21913995/vertically-offset-stem-plot
Thanks,
ssinfod
--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/stem-plot-with-horizontal-offset-BaseValue-tp45297.html
Sent from the matplotl