Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-02-17 Thread Gökhan Sever
On Wed, Feb 17, 2010 at 9:28 AM, John Hunter wrote: > On Wed, Feb 17, 2010 at 9:06 AM, Matthias Michler > wrote: > > > thanks a lot for taking the time to go through this patch. I tried to > > incorporate you remarks and attached a new patch. > > The most difficult task is about the > > document

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-02-17 Thread John Hunter
On Wed, Feb 17, 2010 at 9:06 AM, Matthias Michler wrote: > thanks a lot for taking the time to go through this patch. I tried to > incorporate you remarks and attached a new patch. > The most difficult task is about the > documentation 'mpl/doc/users/navigation_toolbar.rst', because I'm not sure

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-02-17 Thread Matthias Michler
On Wednesday 17 February 2010 15:28:24 John Hunter wrote: > On Wed, Feb 17, 2010 at 8:08 AM, Matthias Michler > > wrote: > > Hi list, Hi Gökhan, > > > > I once more would like to say that I like the 2 new features introduced > > by Gökhan (key 'k' for xscaling and the generalized handling of the >

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-02-17 Thread John Hunter
On Wed, Feb 17, 2010 at 8:08 AM, Matthias Michler wrote: > Hi list, Hi Gökhan, > > I once more would like to say that I like the 2 new features introduced by > Gökhan (key 'k' for xscaling and the generalized handling of the key-mapping, > which allows the user to choose its prefered key for a cer

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-02-17 Thread Matthias Michler
Hi list, Hi Gökhan, I once more would like to say that I like the 2 new features introduced by Gökhan (key 'k' for xscaling and the generalized handling of the key-mapping, which allows the user to choose its prefered key for a certain task) and I'd like to see this in matplotlib. I attached

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-02-02 Thread Matthias Michler
Hi Gökhan, I'm sorry I didn't had the time to look into your patch in the last days. Today I did have a look at it and in my opinion you did a great job - Thanks! The point is that I'm not a developer and therefore cannot commit it right away ;-) . Although it is great stuff I tried to even im

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-01-29 Thread Gökhan Sever
My initial patch is ready for your review. I tested with latest svn and customized key-mapping (from matplotlibrc) is working correctly. Please review, and let me know if there would be any better solution, variable naming, placing etc.. I can also update the http://matplotlib.sourceforge.net/use

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-01-25 Thread Matthias Michler
Hi Gökhan, On Monday 25 January 2010 20:04:14 Gökhan Sever wrote: > Constrain pan/zoom to x axis hold *x* Constrain pan/zoom to y axis hold *y* > I don't have these in my backend_bases.py file. Are these working on your > system? Yes they do, but only for "pan/zoom"-mode and not for "rect zoom".

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-01-25 Thread Gökhan Sever
Constrain pan/zoom to x axis hold *x* Constrain pan/zoom to y axis hold *y* I don't have these in my backend_bases.py file. Are these working on your system? On Mon, Jan 25, 2010 at 12:58 PM, Gökhan Sever wrote: > Hello, > > I could these keys into rcsetup.py file as well as matplotlibrc.template

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-01-25 Thread Gökhan Sever
Hello, I could these keys into rcsetup.py file as well as matplotlibrc.template and update backend_bases.py accordingly. And add some documentation reflecting the changes made. # Event keys to interact with figures/plots via keyboard fullscreen : 'f' home : 'h' reset : 'r' back : 'c' forward : '

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-01-25 Thread Matthias Michler
Hi Gökhan, I just wanted to discuss the key, because I think this patch should be part of matplotlib and not only of individual users. I think it is worth be be added to the mpl-tracker at http://sourceforge.net/tracker/?group_id=80706 or maybe one of the developers has the time to commit this

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-01-22 Thread Gökhan Sever
It is very simple to change key-assignment. Take a look at the backend_bases.py code (search for event.key instances) : elif event.key == 'L': I was thinking to move y-scaling to "y" and x-scaling to "x" but x and y are assigned to something else ( http://matplotlib.sourceforge.net/users/

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-01-21 Thread Matthias Michler
Hi Gökhan, Hi list members, This is really a missing feature in matplotlib in my opinion and it's great that you took the time to make an suggestion, but I would prefer capital "L" for the xaxis-scaling like gnuplot although I'm not sure this is possible. What do you and other list members thi

[Matplotlib-users] Assigning "k" key for xscaling

2010-01-21 Thread Gökhan Sever
Hello, "l" key does the log - linear scaling for y-axis. I have made a minor change to use "k" for x-axis scaling. Patch added. Feel free to add if you find it useful. -- Gökhan xscale.patch Description: Binary data -