Re: [Matplotlib-users] nonlinear axes for imshow

2009-10-14 Thread thkoe002
Hi JJ, thanks a lot for your help. I think that http://matplotlib.sourceforge.net/examples/axes_grid/demo_curvelinear_grid.html has everything I need, I'll try it out. The coordinates given by the mouse are off, but that seems to be the case even for the far more elaborate custom

Re: [Matplotlib-users] nonlinear axes for imshow

2009-10-13 Thread thkoe002
Hi Eric, thanks for the help, but this doesn't do what I want. I don't want to change the image in any way, I just want the axes to have a decreasing spacing. I made a small example with ms paint to clarify. http://www.nabble.com/file/p25867951/axes.png I could do this with ax.set_xticks()

Re: [Matplotlib-users] nonlinear axes for imshow

2009-10-13 Thread Jae-Joon Lee
On Tue, Oct 13, 2009 at 2:48 AM, thkoe002 thkoe...@gmail.com wrote: Hi Eric, thanks for the help, but this doesn't do what I want. I don't want to change the image in any way, I just want the axes to have a decreasing spacing. I made a small example with ms paint to clarify.

[Matplotlib-users] nonlinear axes for imshow

2009-10-12 Thread thkoe002
Hello, I have the following problem. I want the axes (only the y-axis, to be exact) of a imshow() graph to be nonlinear. By default, the axis goes linearily from 0 to (number of pixels). With the [extent] keyword, I can change that to going linearly from (arbitrary start) to (arbitrary end).

Re: [Matplotlib-users] nonlinear axes for imshow

2009-10-12 Thread Eric Firing
thkoe002 wrote: Hello, I have the following problem. I want the axes (only the y-axis, to be exact) of a imshow() graph to be nonlinear. By default, the axis goes linearily from 0 to (number of pixels). With the [extent] keyword, I can change that to going linearly from (arbitrary start) to