Re: [Matplotlib-users] matplotlib/basemap question

2008-06-10 Thread Lionel Roubeyrie
Hi Jeff, Do you have in your bags a similar approch but using kriging? For the moment we use R via Rpy to make the computation, but if you know a more pythonic way to do so, I'll appreciate :-) Cordialy Le mardi 10 juin 2008, Jeff Whitaker a écrit : > Jason Li wrote: > > Hi Jeff, > > > > Thanks

Re: [Matplotlib-users] Align x axises with data vectors of different size

2008-06-10 Thread Johan Mazel
Anyway guys, thanks a lot for the fast answer and all the good work you're doing. :) Johan 2008/6/10 Eric Firing <[EMAIL PROTECTED]>: > John Hunter wrote: > > We should consider fix the autoscaling so that tthe default view lim >> are always open intervals that contain the data. >> > > This has

Re: [Matplotlib-users] Align x axises with data vectors of different size

2008-06-10 Thread Eric Firing
John Hunter wrote: > We should consider fix the autoscaling so that tthe default view lim > are always open intervals that contain the data. This has been on my mental list for a long time. I will look into it. Eric - Chec

Re: [Matplotlib-users] matplotlib/basemap question

2008-06-10 Thread Jeff Whitaker
Jason Li wrote: > Hi Jeff, > > Thanks for your help in the past. Just wondering if I can ask another > question. This is with regard to plotting irregularly spaced geophysical > data. > > I have been happy plotting gridded data away using matplotlib/basemap. > Now I want to try irregularly spa

Re: [Matplotlib-users] Align x axises with data vectors of different size

2008-06-10 Thread John Hunter
On Tue, Jun 10, 2008 at 10:32 AM, Johan Mazel <[EMAIL PROTECTED]> wrote: > This is exactly what I wanted. > Thanks a lot. > I just wanted to know wether it was possible to add a little margin for the > y axes because I can't see the highest point of the curve since it's on the > edge of the subplot

Re: [Matplotlib-users] Align x axises with data vectors of different size

2008-06-10 Thread Johan Mazel
This is exactly what I wanted. Thanks a lot. I just wanted to know wether it was possible to add a little margin for the y axes because I can't see the highest point of the curve since it's on the edge of the subplot. Anyway, thanks a lot for the good work. Johan 2008/6/10 John Hunter <[EMAIL PROT

Re: [Matplotlib-users] Align x axises with data vectors of different size

2008-06-10 Thread John Hunter
On Tue, Jun 10, 2008 at 8:51 AM, Johan Mazel <[EMAIL PROTECTED]> wrote: > Hi > I display two data vectors : the first is in the subplot 2,1,1 and the > second in the subplot 2,1,2. Each of the data vectors have an x vector of > dates to display values on x axis. > The 2 data vectors are correlated

Re: [Matplotlib-users] Easy question: how to select specific subplot for second (or more) time

2008-06-10 Thread Mark Bakker
Yep, that works. I thought I had tried that, but I must have done something wrong. Sorry for the clutter, Mark On Tue, Jun 10, 2008 at 4:00 PM, John Hunter <[EMAIL PROTECTED]> wrote: > On Tue, Jun 10, 2008 at 8:41 AM, Tony S Yu <[EMAIL PROTECTED]> wrote: > > Hey Mark, > > Actually, recalling subp

Re: [Matplotlib-users] Easy question: how to select specific subplot for second (or more) time

2008-06-10 Thread John Hunter
On Tue, Jun 10, 2008 at 8:41 AM, Tony S Yu <[EMAIL PROTECTED]> wrote: > Hey Mark, > Actually, recalling subplot(211) seems to work for me. Strange. Yes, this is the expected behavior, you can reactivate any axes or subplot by simply making the same axes or subplot call (with the same arguments).

[Matplotlib-users] Align x axises with data vectors of different size

2008-06-10 Thread Johan Mazel
Hi I display two data vectors : the first is in the subplot 2,1,1 and the second in the subplot 2,1,2. Each of the data vectors have an x vector of dates to display values on x axis. The 2 data vectors are correlated in time and I want to show the correlation. But the two data vectors are not alig

Re: [Matplotlib-users] Easy question: how to select specific subplot for second (or more) time

2008-06-10 Thread Fabrice Silva
Le mardi 10 juin 2008 à 09:27 -0400, Tony S Yu a écrit : > Wow, a question I can actually answer: > > ax1 = subplot(211) > ax2 = subplot(212) > ax1.plot([1,2,3]) > ax2.plot([4,3,2]) > ax1.plot([3,2,1]) I do prefer Tony's solution, but in a more pylab'ic (matlab'ic) way, there is also: gcf().get_

Re: [Matplotlib-users] Easy question: how to select specific subplot for second (or more) time

2008-06-10 Thread Tony S Yu
Hey Mark, Actually, recalling subplot(211) seems to work for me. Strange. You may want to try forcing the first plot to remain before drawing the second: subplot(211) plot([1,2,3]) hold(True) subplot(212) plot([4,3,2]) subplot(211) plot([3,2,1]) -Tony On Jun 10, 2008, at 9:29 AM, Mark Bak

Re: [Matplotlib-users] Easy question: how to select specific subplot for second (or more) time

2008-06-10 Thread Mark Bakker
Thanks Tony - I was hoping there was a plyab-ish command. Like you can do Figure(1), Figure(2), and then reselect Figure(1) to get access to the first figure. No such command for subplot, I understand. Cheers, Mark On Tue, Jun 10, 2008 at 3:27 PM, Tony S Yu <[EMAIL PROTECTED]> wrote: > Wow, a q

Re: [Matplotlib-users] Easy question: how to select specific subplot for second (or more) time

2008-06-10 Thread Tony S Yu
Wow, a question I can actually answer: ax1 = subplot(211) ax2 = subplot(212) ax1.plot([1,2,3]) ax2.plot([4,3,2]) ax1.plot([3,2,1]) Best, -Tony On Jun 10, 2008, at 9:09 AM, Mark Bakker wrote: > Hello list - > > I want to plot something in two subplots, then add something to the > first subplot

[Matplotlib-users] Easy question: how to select specific subplot for second (or more) time

2008-06-10 Thread Mark Bakker
Hello list - I want to plot something in two subplots, then add something to the first subplot. How do I select the first subplot after I have plotted on the second subplot? For example: subplot(211) plot([1,2,3]) subplot(212) plot([4,3,2]) Now I want to add something to the first subplot. So I

Re: [Matplotlib-users] ./make.py html fails

2008-06-10 Thread Ondrej Certik
On Tue, Jun 10, 2008 at 3:35 AM, Ryan May <[EMAIL PROTECTED]> wrote: > John Hunter wrote: >> >> I posted a snapshot of the docs at: >> >> http://matplotlib.sourceforge.net/doc/html/index.html >> > > WOW. I love the way sphinx docs look. But more importantly, great work > you guys on improving t