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 (arbitrary end). Now, I'd like > the axis to be dependend on a (bijective) arbitrary function, for example > y=p^2 (when p is the pixel number and y the y-axis coordinate). > How can I achieve this? > Thanks a lot, cheers > > Thomas
See http://matplotlib.sourceforge.net/examples/pylab_examples/image_nonuniform.html Eric ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users