Richard Hattersley, on 2011-07-13 09:58, wrote: > Is there a standard way to add fixed-size, arbitrary-design symbols to axes? > - Their position must be given in data coordinates > - Their size must be given in physical coordinates (inches/points) > > They basically need to behave like plot markers, but with the ability to > specifiy arbitrary designs. > e.g. See http://commons.wikimedia.org/wiki/File:Cloud_cover_3.svg for an > example symbol. > > Currently I'm defining my symbols using a sequence of Patch objects, and then > using PatchCollection (with its offsets and transOffset properties, and its > set_transform() method) to do the positioning/scaling. > > Is there a better way?
This looks similar enough: http://matplotlib.sourceforge.net/examples/api/scatter_piecharts.html best, -- Paul Ivanov 314 address only used for lists, off-list direct email at: http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users