Re: [Matplotlib-users] a break in the y-axis

2011-01-24 Thread Paul Ivanov
Eric Firing, on 2011-01-22 17:49, wrote: Paul Ivanov, on 2011-01-22 18:28, wrote: Paul, Your example below is nice, and this question comes up quite often. If we don't already have a gallery example of this, you might want to add one. (Probably better to use deterministic fake data

Re: [Matplotlib-users] a break in the y-axis

2011-01-24 Thread Eric Firing
On 01/23/2011 11:46 PM, Paul Ivanov wrote: [...] Done in r8935, see examples/pylab_examples/broken_axis.py Thank you. I documented the above, used deterministic fake data, as Eric suggested, and added the diagonal cut lines that usually accompany a broken axis. Here's the tail end of the

[Matplotlib-users] a break in the y-axis

2011-01-22 Thread Ilya Shlyakhter
Is it possible to create a break in the y-axis so that it has ticks for value 0-.2, then ticks for values .8-1.0, but devotes only a token amount of space to the area 0.2-0.8? I have a dataset with most datapoints in 0-.2 and a couple in .8-1.0, and none in .2-.8 . The default scaling wastes a

Re: [Matplotlib-users] a break in the y-axis

2011-01-22 Thread Paul Ivanov
Ilya Shlyakhter, on 2011-01-22 19:06, wrote: Is it possible to create a break in the y-axis so that it has ticks for value 0-.2, then ticks for values .8-1.0, but devotes only a token amount of space to the area 0.2-0.8? I have a dataset with most datapoints in 0-.2 and a couple in .8-1.0,

Re: [Matplotlib-users] a break in the y-axis

2011-01-22 Thread Paul Ivanov
Paul Ivanov, on 2011-01-22 18:28, wrote: Ilya Shlyakhter, on 2011-01-22 19:06, wrote: Is it possible to create a break in the y-axis so that it has ticks for value 0-.2, then ticks for values .8-1.0, but devotes only a token amount of space to the area 0.2-0.8? I have a dataset with

Re: [Matplotlib-users] a break in the y-axis

2011-01-22 Thread Eric Firing
On 01/22/2011 05:16 PM, Paul Ivanov wrote: Paul Ivanov, on 2011-01-22 18:28, wrote: Ilya Shlyakhter, on 2011-01-22 19:06, wrote: Is it possible to create a break in the y-axis so that it has ticks for value 0-.2, then ticks for values .8-1.0, but devotes only a token amount of space to the