Re: [Matplotlib-users] split axis scale

2008-11-30 Thread Alan G Isaac
On 11/29/2008 1:08 PM Eric Firing apparently wrote: > for tl in ax2.get_yticklabels(): > tl.set_color('r') Obvious once you see it. Nice. Alan Isaac - This SF.Net email is sponsored by the Moblin Your Move Developer's

Re: [Matplotlib-users] split axis scale

2008-11-29 Thread Eric Firing
Alan G Isaac wrote: On 11/28/2008 9:21 PM Eric Firing apparently wrote: I suggest using twinx(); the scale for one line will be on the left, the scale for the other on the right. You can make the scale colors match the line colors, if you want to. I just updated examples/api/two_scales.py to

Re: [Matplotlib-users] split axis scale

2008-11-29 Thread Alan G Isaac
On 11/28/2008 9:21 PM Eric Firing apparently wrote: > I suggest using twinx(); the scale for one line will be on the left, the > scale for the other on the right. You can make the scale colors match > the line colors, if you want to. I just updated > examples/api/two_scales.py to show this.

Re: [Matplotlib-users] split axis scale

2008-11-28 Thread Eric Firing
Robin wrote: > Hi, > > I have a plot containing two lines that are quite far apart - ie one > line oscillates around y=2, the other around y=10. The osciallations > are small, but I would like to show the detail better (while having > htem in a single plot). I suggest using twinx(); the scale for

Re: [Matplotlib-users] split axis scale

2008-11-28 Thread Ben Gamari
If I'm not mistaken, you might be able to write a Transform (http://matplotlib.sourceforge.net/devel/transformations.html) to do this, although I'm not sure how you'd render the split-mark. I don't really know these things though, just a thought. - Ben On Fri, 2008-11-28 at 13:09 +, Robin wr

[Matplotlib-users] split axis scale

2008-11-28 Thread Robin
Hi, I have a plot containing two lines that are quite far apart - ie one line oscillates around y=2, the other around y=10. The osciallations are small, but I would like to show the detail better (while having htem in a single plot). So I thought it would be nice if the y-axis scale went from 1-3