Re: [Matplotlib-users] set_ylim() does not work with twinx()-axes

2006-10-24 Thread John Hunter
> "Willi" == Willi Richert <[EMAIL PROTECTED]> writes: Willi> Hi, even with the newest version the problem remains, Willi> unless I put the set_ylim() command _after_ plot(). Why? Quoting myself from my first post in this thread 1) you are calling set_ylim before a plot command and

Re: [Matplotlib-users] set_ylim() does not work with twinx()-axes

2006-10-24 Thread Willi Richert
Hi, even with the newest version the problem remains, unless I put the set_ylim() command _after_ plot(). Why? Am Samstag, 21. Oktober 2006 20:30 schrieb Eric Firing: > Willi Richert wrote: > > Am Freitag, 20. Oktober 2006 17:31 schrieb John Hunter: > >> from pylab import * > >> > >> ax1 = sub

Re: [Matplotlib-users] set_ylim() does not work with twinx()-axes

2006-10-23 Thread Eric Firing
With Linux it is easy to install matplotlib from the tarball or from svn--no need to hunt around for a package. Eric Willi Richert wrote: > Am Samstag, 21. Oktober 2006 20:30 schrieb Eric Firing: >>> matplotlib.__version__ == 0.82 >> There is the problem: you need to update your matplotlib. >> >

Re: [Matplotlib-users] set_ylim() does not work with twinx()-axes

2006-10-23 Thread Willi Richert
Hi, unfortunately, debs.astraw.com is not accessible. [EMAIL PROTECTED]:~> ping debs.astraw.com ping: unknown host debs.astraw.com [EMAIL PROTECTED]:~> ping www.astraw.com PING www.astraw.com (66.33.203.253) 56(84) bytes of data. 64 bytes from basic-emu.glass.dreamhost.com (66.33.203.253): icm

Re: [Matplotlib-users] set_ylim() does not work with twinx()-axes

2006-10-23 Thread Sven Schreiber
Willi Richert schrieb: > Am Samstag, 21. Oktober 2006 20:30 schrieb Eric Firing: >>> matplotlib.__version__ == 0.82 >> There is the problem: you need to update your matplotlib. >> >> Eric > > Thanks. Unfortunately, I've not yet found a more recent ubuntu/dapper repo > for > matplotlib. Any exper

Re: [Matplotlib-users] set_ylim() does not work with twinx()-axes

2006-10-23 Thread Willi Richert
Am Samstag, 21. Oktober 2006 20:30 schrieb Eric Firing: > > > > matplotlib.__version__ == 0.82 > > There is the problem: you need to update your matplotlib. > > Eric Thanks. Unfortunately, I've not yet found a more recent ubuntu/dapper repo for matplotlib. Any experience with installing the ubunt

Re: [Matplotlib-users] set_ylim() does not work with twinx()-axes

2006-10-21 Thread Eric Firing
Willi Richert wrote: > Am Freitag, 20. Oktober 2006 17:31 schrieb John Hunter: >> from pylab import * >> >> ax1 = subplot(111) >> t = arange(0.01, 10.0, 0.01) >> s1 = exp(t) >> plot(t, s1, 'b-') >> xlabel('time (s)') >> ylabel('exp') >> >> >> # turn off the 2nd axes rectangle with frameon kwarg >>

Re: [Matplotlib-users] set_ylim() does not work with twinx()-axes

2006-10-21 Thread Willi Richert
Am Freitag, 20. Oktober 2006 17:31 schrieb John Hunter: > from pylab import * > > ax1 = subplot(111) > t = arange(0.01, 10.0, 0.01) > s1 = exp(t) > plot(t, s1, 'b-') > xlabel('time (s)') > ylabel('exp') > > > # turn off the 2nd axes rectangle with frameon kwarg > ax2 = twinx() > s2 = sin(2*pi*t) >

Re: [Matplotlib-users] set_ylim() does not work with twinx()-axes

2006-10-20 Thread John Hunter
> "Willi" == Willi Richert <[EMAIL PROTECTED]> writes: Willi> Hi, I am plotting two graphs in one according to Willi> http://matplotlib.sourceforge.net/examples/two_scales.py Willi> I want the plot belonging to the right axis to start with Willi> y=0. However, Willi> ax2.

[Matplotlib-users] set_ylim() does not work with twinx()-axes

2006-10-20 Thread Willi Richert
Hi, I am plotting two graphs in one according to http://matplotlib.sourceforge.net/examples/two_scales.py I want the plot belonging to the right axis to start with y=0. However, ax2.set_ylim(ymin=0.0) does not affect the plot at all. Any hints? Regards, wr --