> From: Alan G Isaac [mailto:[email protected]]
> Sent: Thursday, October 14, 2010 19:12
>
> ax.stem(x, y, '-.') draws the stem second,
> so that it is visible on top of the dot.
>
> Is this intentional?
> (I think it looks better with the dot on top.)
> How to reverse?
I would usually place the dot on top, too. The stacking is determined by the
order of the plot commands in the stem method, but you could modify the zorder
[1] of the objects after the fact to order them as you like:
markerline, stemlines, baseline = axes.stem(x, y, '-.')
markerline.set_zorder(markerline.get_zorder() + 0.1)
[1] http://matplotlib.sourceforge.net/examples/pylab_examples/zorder_demo.html
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users