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 PatchCollection, and http://matplotlib.sourceforge.net/examples/pylab_examples/dolphin.html for a fairly complicated user-defined Patch. Matplotlib doesn't do any gradient fills yet, so you're a little limited in drawing the sphere. Another option is to make a bitmap drawing of a sphere in e.g. Gimp and put multiple copies of it at various coordinates, but I don't think this is well-supported currently. -- Jouni K. Seppänen http://www.iki.fi/jks ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users