Re: [Matplotlib-users] custom symbols for scatter

2009-04-27 Thread Ryan May
On Mon, Apr 27, 2009 at 7:50 AM, Juan Fiol fi...@yahoo.com wrote: Hi, I am trying to put a sphere (rather than circles or disks) as markers for a plot. I am a newbiew so I tried the poor man approach: I plotted several circles one over the other for each point to mimic a sphere (looking it

Re: [Matplotlib-users] custom symbols for scatter

2009-04-27 Thread Juan Fiol
') ax.set_xlim(xmin,xmax) ax.set_ylim(ylimits) plt.show() ### --- On Mon, 4/27/09, Ryan May rma...@gmail.com wrote: From: Ryan May rma...@gmail.com Subject: Re: [Matplotlib-users] custom symbols for scatter To: fi...@yahoo.com Cc

Re: [Matplotlib-users] custom symbols for scatter

2009-04-27 Thread Jouni K . Seppänen
Juan Fiol fi...@yahoo.com writes: Hi, I am trying to put a sphere (rather than circles or disks) as markers for a plot. One approach could be to make a PatchCollection of suitable patches - see http://matplotlib.sourceforge.net/examples/api/patch_collection.html for an example of

Re: [Matplotlib-users] custom symbols for scatter

2009-04-27 Thread Juan Fiol
Thanks Jouni, my first try was to make a PNG in gimp and use imread/imshow but it did not work with Log scale. I think that the best approach would be to create an object (may be a patch) with the sphere and put it in the plots but I do not know how to do it and will not have the time to