Re: [Matplotlib-users] using ginput with images -- axes are resized?

2008-11-05 Thread Elfnor
Adam-221 wrote: > > hi, I am trying to use ginput with some images and for some reason it > keeps > changing the axes with the mouse click. > I don't know if this is a feature or bug, but I would like it not to > affect > my images at all. > > here is a short example: > > #--- > from pylab imp

[Matplotlib-users] How to insert a new button?

2008-11-05 Thread sordnay
Hi I would like to insert a new button on the standard figure toolbar, is there an easy way? maybe someone can post an example? Thanks -- View this message in context: http://www.nabble.com/How-to-insert-a-new-button--tp20348834p20348834.html Sent from the matplotlib - users mailing list archiv

Re: [Matplotlib-users] Setting tick labelsize programatically

2008-11-05 Thread Joshua J. Kugler
On Wednesday 05 November 2008, Stan West said something like: > > -Original Message- > > From: Joshua J. Kugler [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, November 04, 2008 18:39 > > > > On Tuesday 04 November 2008, Joshua J. Kugler said something like: > > > > Here is one way to do it::

Re: [Matplotlib-users] How to change yticks on colorbar?

2008-11-05 Thread Stan West
From: Mark Bakker [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2008 06:25 Hello list - I am trying to change the yticks on my colorbar (in combination with contourf) and cannot figure out how to do it. Short example: x,y = meshgrid(linspace(0,10),linspace(0,10)) a = contourf(x,y,x,

Re: [Matplotlib-users] Setting tick labelsize programatically

2008-11-05 Thread Stan West
> -Original Message- > From: Joshua J. Kugler [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 04, 2008 18:39 > > On Tuesday 04 November 2008, Joshua J. Kugler said something like: > > > Here is one way to do it:: > > > > > > for label in ax.get_xticklabels() + ax.get_yticklabels()

Re: [Matplotlib-users] twin / dual / two axis seems to confuse or break toolbar magnifier

2008-11-05 Thread Michael Droettboom
Thanks for the re-explanation. I can confirm that this is broken as recently as 0.91.2. However, it works as expected with a recent SVN trunk, and matplotlib 0.98.3. It seems what this is doing is adjusting the limits twice (for each of the twin axes), the first correctly, and then again by

[Matplotlib-users] How to change yticks on colorbar?

2008-11-05 Thread Mark Bakker
Hello list - I am trying to change the yticks on my colorbar (in combination with contourf) and cannot figure out how to do it. Short example: x,y = meshgrid(linspace(0,10),linspace(0,10)) a = contourf(x,y,x,linspace(0,10,6)) b = colorbar(a) This gives a nice colorbar, with ticks at 0,2,4,6,8,1