Hi,
I am working on a library for image analysis which stores particles as
indexed numpy arrays and provides functionality for managing the particles
beyond merely image masking or altering the arrays directly. I've already
designed classes for many common shapes including Lines/Curves,
Sorry, quick followup. I did find the gallery example to plot multiple
patches together:
http://matplotlib.org/examples/api/patch_collection.html
That's excellent. Now I guess my question is how best to generalize the
process of turning my objects into patches. I think I will just try to
keep
Adam,
Not sure if this is the try you're trying to bark up, but I've used a total
hack to do what I think you're describing:
1) store lists of coordinate pairs in a pandas DataFrame
2) use df.apply() to turn each list of coords in to a patch and add to an
axes object
I'm sure you know this,
On Tue, Jan 7, 2014 at 2:29 PM, Adam Hughes hughesada...@gmail.com wrote:
Sorry, quick followup. I did find the gallery example to plot multiple
patches together:
http://matplotlib.org/examples/api/patch_collection.html
That's excellent. Now I guess my question is how best to generalize
Sorry, had forgot to reply all:
Thanks Joe, that's perfect. I appreciate the tip, as I would not have
realized I needed a PathCollection for lines and curves. PS, do you know
if it is possible to have a background image behind a plot of patches? I
know it's doable for scatter, but hadn't seen