From: ssinfod <ss...@gm...> - 2015-04-03 01:59:06
|
It seems the 'bottom' parameter is the best for me. Here is the code: from pylab import * x = linspace(0.1, 2*pi, 10) markerline, stemlines, baseline = stem(x, cos(x), '-.', bottom=.5) setp(markerline, 'markerfacecolor', 'b') setp(baseline, 'color','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.html Sent from the matplotlib - users mailing list archive at Nabble.com. |