zap symbols

Hi,

Does anyone provide a script / patch to create zap symbols (e.g. like
http://home.gna.org/pychart/doc/module-coord.html#module-coord ) to
break an axis?

TIA
Christian

If that symbol is included in any of the font (I don't know of any),
you can simply use them.

Or, you need to create your own path. There are a few ways to do it,
and I guess using scatter is one of the easiest.

   zap0 = [[-1.,0.], [-0.5, 0.5], [0.,0.], [0.5,-0.5],[1.,0.]]
   zap = zap0 + zap0[-1:0:-1] # same verts but backward. the verts
                              # gets closed internally.

   scatter([1.],[1.], s=100, marker=None,
           verts=zap)

Regards,

-JJ

ยทยทยท

On Wed, Oct 21, 2009 at 5:00 AM, Christian Meesters <meesters@...2757...> wrote:

Hi,

Does anyone provide a script / patch to create zap symbols (e.g. like
http://home.gna.org/pychart/doc/module-coord.html#module-coord ) to
break an axis?

TIA
Christian

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options