custom symbol patch

Hi, I just submitted a patch to sourceforge and also

    > attached it to this email:

    > The applied patch modifies the files axes.py and
    > collections.py.

    > I added a class StaredRegularPolyCollection() to
    > collections.py to create star-like regular Polygons.

This looks very useful -- thanks for the patch. To questions:

What does the name "StaredRegularPolygon" mean? I am having trouble
figuring out the Stared part.

It would be nice to have this functionality in the line markers as
well. Any interest in trying to port some of these changes to the
matplotlib.lines?

JDH

John Hunter wrote:

    > Hi, I just submitted a patch to sourceforge and also
    > attached it to this email:

    > The applied patch modifies the files axes.py and
    > collections.py.

    > I added a class StaredRegularPolyCollection() to
    > collections.py to create star-like regular Polygons.

This looks very useful -- thanks for the patch. To questions:

What does the name "StaredRegularPolygon" mean? I am having trouble
figuring out the Stared part.

Argh - okay - this is a mistranslation from german to english - sorry. I
wanted to say "starlike". So probably StarlikeRegularPolygon is a better
name...

If changed this and attach an updated patch (also updated on sourceforge).

Btw.: there is also a minor change concerning the rescaling of custom
verts. For the rescaling, it is assumed that the vertices are
centred on the coordinate centre, and rescaling is done such that the
largest distance from the centre is scaled to 1.

It would be nice to have this functionality in the line markers as
well. Any interest in trying to port some of these changes to the
matplotlib.lines?

I will have a look into this.

Manuel

custom_symbol.a.patch (7.54 KB)