axis break: a bit of a random query

Hi all,

I am still very green when it comes to the use of matplotlib but I am finding the versatility and robustness of the package extremely useful at present. One application I am constantly using matplotlib for concerns a break in the axis. Although I have a script or two based on an original from http://matplotlib.sourceforge.net/examples/pylab_examples/manual_axis.html I am curious to put something together that automates the process for my own purposes. In doing this I have come across the PyX graph.axis.split() command. I am wondering if the simple way that pyx makes the break could be simply relayed in matplotlib.

The question is then: has anybody tried this before? (as to be honest I have a few other things to do)

The new dropped spines support in SVN HEAD might help you out:

http://matplotlib.sourceforge.net/examples/pylab_examples/spine_placement_demo.html

Ryan

···

On Tue, Jun 9, 2009 at 9:42 AM, Nicholas Stephens <Nicholas.Stephens@…2159…> wrote:

Hi all,

I am still very green when it comes to the use of matplotlib but I am

finding the versatility and robustness of the package extremely useful

at present. One application I am constantly using matplotlib for

concerns a break in the axis. Although I have a script or two based on

an original from

http://matplotlib.sourceforge.net/examples/pylab_examples/manual_axis.html

I am curious to put something together that automates the process for my

own purposes. In doing this I have come across the PyX

graph.axis.split() command. I am wondering if the simple way that pyx

makes the break could be simply relayed in matplotlib.


Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma