I’m not going to claim this is the final answer, but in the documentation for the stem function[1], it specifically says that the horizontal line is drawn at 0.
A workaround is to subtract the offset from your data, and relabel the axes…. [1]http://matplotlib.org/api/pyplot_api.html?highlight=stem#matplotlib.pyplot.stem On Mar 31, 2015, at 11:31AM, ssinfod <ssin...@gmail.com> wrote: > Hello, > > I found this stem plot example: > http://matplotlib.org/examples/pylab_examples/stem_plot.html > > I would like to add an horizontal offset to the step plot. (Ex: +2 on Y > axis) > What is the equivalent of the Matlab "BaseValue" offset in matplotlib. > > See Reference: > http://www.mathworks.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 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 ------------------------------------------------------------------------------ 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