plotting separated axes

hi all,

is there a way to plot separated axes in matplotlib? i.e. plots where
the origin (0,0) has no meaning, either because the data on the x axes
is categorical (e.g. you are plotting a histograms for three
categories) or for other reasons. an example of what i mean is this
graph:

http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=82

or this: http://msenux.redwoods.edu/math/R/graphics/hist1.gif

any advice on how to do this would be greatly appreciated. thanks.

with matplotlib 0.99:

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

ยทยทยท

On Sun, Aug 9, 2009 at 11:53 PM, per freem<perfreem@...287...> wrote:

is there a way to plot separated axes in matplotlib? i.e. plots where
the origin (0,0) has no meaning, either because the data on the x axes
is categorical (e.g. you are plotting a histograms for three
categories) or for other reasons. an example of what i mean is this
graph:

http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=82

or this: http://msenux.redwoods.edu/math/R/graphics/hist1.gif

any advice on how to do this would be greatly appreciated. thanks.