## matplotlib-users

 [Matplotlib-users] Symbol plotting From: Richard Hattersley - 2011-07-13 08:58:16 ```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? Any suggestions gratefully received! Thanks ```
 Re: [Matplotlib-users] Symbol plotting From: Paul Ivanov - 2011-07-13 18:48:58 Attachments: Message as HTML ```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 ```