Hi,

I create a collection item, add it to the current axis, and try to plot data
points over it but the points do not show up. Here is my code:

    fig = plt.figure(figsize=(10,10))
    ax = fig.gca()
    bb_collect = beachball.Beach([strike,dip,rake], linewidth=0.4,
facecolor='gray', bgcolor='w', edgecolor='k',alpha=1.0, xy=(0,0), width=2,
size=100, nofill=False,zorder=100)
    a = ax.add_collection(bb_collect)
    ax.autoscale_view(tight=False, scalex=True, scaley=True)
    plt.plot(x,y,linewidth=0,marker='+',ms=20,markeredgewidth=3)
    plt.xlim(-1,1)
    plt.ylim(-1,1)
    plt.savefig(evid[nm]+".png")

I can plot the collection by itself and the points by themselves, but can't
seem to plot the points on top of the collection object. Can anyone tell me
what I'm doing wrong?

Cheers!
-- 
View this message in context: 
http://old.nabble.com/Overlaying-points-on-Matplotlib-collection-object--tp32337739p32337739.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to